2
Contributors
3
Replies
4
Views
12 Years
Discussion Span
Last Post by Subbuteo
0

Hi, How do I stop a DOS window from automatically closing after running a program?
Thanks

hi there, one way is to open the windows folder your program is saved in, then click start>run - it will open the ms dos prompt, in the directory of your folder. then, run the program by typing just the program name without the extention (the .exe, or whatever) in the dos window. this should not shut the window afterwards.

if it still does, reply

cheers.

0

hi there, one way is to open the windows folder your program is saved in, then click start>run - it will open the ms dos prompt, in the directory of your folder. then, run the program by typing just the program name without the extention (the .exe, or whatever) in the dos window. this should not shut the window afterwards.

if it still does, reply

cheers.

Well, i just install java sdk and when I try to test it by typing JAVA or JAVAC in the DOS window and once it finishes displaying the results the window closes automatically.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.