Launching exes using Cpp code

Status
Not open for further replies.

mustang82

Junior Member level 3
Joined
Dec 2, 2005
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Third Rock from the sun
Activity points
1,556
Hello,

Can anyone please tell me how do we launch a precompiled exe file stored in the output directory using a C++ code and a suitable function. I want the file to be launched as soon as that code is read. Thank you
 

#include <cstdlib>
system("filename.exe");
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…