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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calling a dos executable

Status
Not open for further replies.

psnead

Programmer
Jul 5, 2000
41
DK
Is it possible to call a dos command line executable without having the dos window open.

I am calling a program that was written for DOS with a windows dialog using the system command.
system(&quot;.exe< file.txt&quot;);
I understand why the dos window pops up, but is it possible to call this executable without the dos window popping up?
 
Try &quot;START /B .exe <file.txt&quot;. Take a look to START help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top