I can't get it to run using system("start program.exe");
Run a program using C/C++?
Don't include "start" - it's a command understood by only by cmd.exe.
Just do:
system("program.exe");
or, if you want to start it asynchronously or have to use "start" for any reason:
system("cmd /c start program.exe");
Reply:system("program");
don't need exe either i thnk
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment