Click to See Complete Forum and Search --> : get the output from DOS prompt


September 20th, 1999, 09:44 AM
Hi
If the VB program launches an exe file (which is in DOS prompt), is there anyway it can get the output from the DOS prompt?
Thanks for help.

Lothar Haensler
September 20th, 1999, 10:32 AM
you could launch a BAT or CMD File which starts your DOS program and redirect its output to a file (via '>' character) and read that file after the program has ended.

September 22nd, 1999, 11:31 AM
Try using the output redirection ">" to direct out of dos exe to a file when you shell and read the file from VB