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

exe

Status
Not open for further replies.

aker13

Programmer
Oct 7, 2001
5
US
how can i run exe file from directory which include project ?
 
Do you mean the project exe itself, or do you want to start some other program from your app? You can create a path to a program in the current directory with

char path[_MAX_PATH];
_fullpath(path,"myprog.exe",_MAX_PATH);

for example, and start it with ShellExecute();
:) Hope that this helped! :)
 
WinExec("fullpath\\xx.exe", SW_SHOW); Ion Filipski
1c.bmp


filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top