this should b realitivly easy to answer but i need to know how to ask a use for an address to a program (example C:\Program Files\....) then have C++ open it up.
all i really need to know is the code required to open the program (the programs intended to be open is a compliled code [example LimeWire, Halo, 3Ds MAx, so on, so forth] and basicly i want it to run a program with in the C++ program with no disadvantiges or advantiges
noey699
0
Light Poster
Recommended Answers
Jump to PostThe easiest way is system();:
system("c:\\windows\\system32\\sol.exe");
Notice the escape backslash for the path backslash. (so: double backslahses)
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.