How To do this do anyone know??? how to Execute an .exe file through c program.
Execute an .exe file through c program
Started by crabypatty, Nov 05 2008 10:33 AM
7 replies to this topic
#1
Posted 05 November 2008 - 10:33 AM
|
|
|
#2
Guest_Jordan_*
Posted 06 November 2008 - 07:09 AM
Guest_Jordan_*
Please don't ask questions in the tutorial sections. Moved.
#3
Posted 07 November 2008 - 03:57 AM
Hey Just let me have the answer and this will the tutorial for "Executing an .exe file through c program "
#4
Posted 07 November 2008 - 08:12 AM
Use the system function.
#5
Posted 07 November 2008 - 09:27 AM
HEy man suppose I have a exe file like "abc.exe"
then will this do?
#include<stdlib.h>
void main()
{
system("C:/abc.exe");
}
then will this do?
#include<stdlib.h>
void main()
{
system("C:/abc.exe");
}
#6
Posted 07 November 2008 - 10:39 AM
#7
Posted 07 November 2008 - 10:47 AM
Assuming abc.exe is located in the root of C:, yes.
#8
Posted 07 November 2008 - 11:34 AM
Thanks for support friends......:)


Sign In
Create Account

Back to top









