Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DarkWhoppy

Opening a EXE from Console

This topic is 5565 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How would I go about doing that? (C++) Lets say.. I have a menu, and I want to open another EXE from a different folder. Example... MENU CHOICES [1] Launch Game [2] Configure [3] Quit I want the "Configure" choice to launch the config .EXE. Get what im saying?

Share this post


Link to post
Share on other sites
Advertisement
You can use the system() function to give a system command, for example launching a program - system("config.exe");

[edited by - eriel on September 21, 2003 2:31:19 PM]

Share this post


Link to post
Share on other sites
Isn''t there a kill() function? Search MSDN for a function that kills the window. I can''t really offer much help here otherwise.

Scott Simontis
e-mail:ageofscott@comcast.net
AIM:ssimontis

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!