Keep command window open after batch file

  • Thread starter Thread starter Howard Delman
  • Start date Start date
H

Howard Delman

Is there a way to keep the command window open after running a batch
file under WinXP? I want to see the program's messages.

Under Win98, under "properties" of the batch file, there was a check box
"close on exit" which could be unchecked to keep the window open. There
does not appear to be anything similar under WinXP.

Howard Delman
 
Just put "pause" in the batchfile at the end (without quotes).
It will stop and prompt you to hit any key before closing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top