Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not close DOS prompt after shell is done

Status
Not open for further replies.

Iliemoo

Programmer
Sep 25, 2002
64
0
0
CA
Is there a way for VB to not close the DOS screen after a dos shell program is called and finished running? The DOS program is suppose to generate some output and/or error notifications but it is closed too fast for viewing :( I tried redirecting the output to a text file (shell("work.exe > log.txt")) but work.exe seem to make sure that if errors occure it will be printed on the prompt screen. Any sugguestion guys?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top