Computing.Net > Forums > Disk Operating System > Closing Window after Batch file is complete

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Closing Window after Batch file is complete

Reply to Message Icon

Name: David
Date: December 22, 1999 at 07:57:00 Pacific
Comment:

What is the batch command, if any, to close the DOS window after the batch file is complete? I am running Win 95 and am using batch files to apply patches silently: However, when the batch process is complete the DOS window does not close.... EXIT does not work. Any help would be appreciated and make my like alot easier.



Sponsored Link
Ads by Google

Response Number 1
Name: Michiel
Date: December 23, 1999 at 03:13:01 Pacific
Reply:

David,

Any .bat file under W95 can be closed after the program finished. Right-click the .bat file and go to Properties. Click on the "Program" tab and select the "Close on exit" checkbox. If you run your batch file now it should close after completion. An othe roption is to make a shortcut to the .bat file and set the closure there. Good Luck!


0

Response Number 2
Name: Ryan Cooley
Date: December 23, 1999 at 20:27:59 Pacific
Reply:

Just put the "CLS" command as the last command in the batch file. Then the windiw WILL close after completion.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Closing Window after Batch file is complete

Closing DOS after batch process www.computing.net/answers/dos/closing-dos-after-batch-process/7421.html

Batch file commands? www.computing.net/answers/dos/batch-file-commands/2674.html

Dos batch file www.computing.net/answers/dos/dos-batch-file/2559.html