Exit from dos batch file

  • Thread starter Thread starter William Tryon
  • Start date Start date
W

William Tryon

Hi all,
I wrote a small dos batch file to execute a game that won't run under XP
(home). The last line in the file is "exit". The problem is after the game
closes the last line of the batch file runs and is displayed but the window
doesn't close. If I manually type "exit", it closes and returns me to the
desktop. How can I get the window to close automatically?

TIA, Zero
 
That's ODD. I can't get my dos window to stay open!

Have you tried the compatibility mode to run you game?

Edwin
 
Total no go. Desktop flashes and the program won't run or it exits out so
fast you can't tell what's really happening.
 

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