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

calling exe's

Status
Not open for further replies.

tchkid832

Programmer
Dec 19, 2001
7
US
hi, how do i call or run an "application" (.exe file) from within a c++ program?

-Peter
 
How about

#include <cstdlib>

system(&quot;myfile&quot;);


Seron
 
Greetinx!

Try yo use &quot;exec&quot; method, for DOS.
And &quot;winexec&quot; or &quot;CreateProcess&quot; for Windows.

Happy programming!))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top