|
-
November 16th, 1999, 01:47 AM
#1
Capturing DOS Output
Hello,
I am developing an application that needs to "capture" the text that a DOS prompt displays. For example, I am wanting to Shell out to a compiler for assembly language with a command line, and then capture the output to display in my program. I have tried "piping" the output to a file by doing this for example...
"C:\compiler.exe -h" > "C:\test.txt"
This will "pipe" the output to the file "C:\test.txt". This works for some executables, but not for all of them..? I am wanting to find a bullet proof method to doing this so that it will work for all compilers. Is there a way to read a console's output buffers from VB..?
Any examples, thoughts, ideas, or leads to finding this information would be greatly appreciated.
Thanks for your time...
Please visit VB Overdrive at:
http://extreme-vb.net/vboverdrive/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|