Jorge Patrão
November 10th, 1999, 06:13 AM
Hi!
I'm developping a simple tool to make it easier to write, compile and configure Grammar Files and Systems Parameters for a Speech Recognition Application.
After writing the Grammar - for which I developed a custom Notepad -, I need to compile it. The compiler runs on a DOS window, and prints all information to the screen. I need to get that information in order to display it on my tool.
I call the compiler using the SHELL command, and it works OK. I tried to redirect the output to a file "gc xxx.xxx >filename", but it didn't work: no redirection was done. Then I tried putting the compile command on a batch file, and run the batch file from my app, but it didn't work.
Needless to say, when doing this on the DOS prompt, it works fine.
Anybody got any ideas?
Thanks,
Jorge
I'm developping a simple tool to make it easier to write, compile and configure Grammar Files and Systems Parameters for a Speech Recognition Application.
After writing the Grammar - for which I developed a custom Notepad -, I need to compile it. The compiler runs on a DOS window, and prints all information to the screen. I need to get that information in order to display it on my tool.
I call the compiler using the SHELL command, and it works OK. I tried to redirect the output to a file "gc xxx.xxx >filename", but it didn't work: no redirection was done. Then I tried putting the compile command on a batch file, and run the batch file from my app, but it didn't work.
Needless to say, when doing this on the DOS prompt, it works fine.
Anybody got any ideas?
Thanks,
Jorge