Big Daddy Posted October 27, 2003 Share Posted October 27, 2003 I just tried to run a simple Hello, world .exe in cmd. It executes, but the command prompt doesn't stay open. It automatically exits. How can I make it not exit after it executes the .exe. Link to comment Share on other sites More sharing options...
0 azcodemonkey Posted October 27, 2003 Share Posted October 27, 2003 ctrl-F5. Link to comment Share on other sites More sharing options...
0 OPaul Posted October 27, 2003 Share Posted October 27, 2003 Open the command prompt first (Start-->Run-->cmd) and execute your program from there. Link to comment Share on other sites More sharing options...
0 Steven Posted October 27, 2003 Share Posted October 27, 2003 I just tried to run a simple Hello, world .exe in cmd. It executes, but the command prompt doesn't stay open. It automatically exits. How can I make it not exit after it executes the .exe. Just add a breakpoint before the terminating statement in your code. Or run the exe after opening the command window. Link to comment Share on other sites More sharing options...
0 Big Daddy Posted October 27, 2003 Author Share Posted October 27, 2003 ctrl f5 works thanks for all the help Link to comment Share on other sites More sharing options...
Question
Big Daddy
I just tried to run a simple Hello, world .exe in cmd. It executes, but the command prompt doesn't stay open. It automatically exits. How can I make it not exit after it executes the .exe.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts