954,255 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

DOS automatically closes

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

cdt1983
Junior Poster
147 posts since Nov 2004
Reputation Points: 13
Solved Threads: 2
 
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.

Subbuteo
Newbie Poster
2 posts since Dec 2004
Reputation Points: 10
Solved Threads: 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.

cdt1983
Junior Poster
147 posts since Nov 2004
Reputation Points: 13
Solved Threads: 2
 

Ah - sorry,don't know how to stop it then - that always works for me. good luck.

Subbuteo
Newbie Poster
2 posts since Dec 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You