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
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.
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.
Summary: make a short-cut to the batch file, choose the program tab and check the "Close on exit box". Point to the short-cut, rather than the batch file. Is this a really stupid way to close a batch file? You...
Summary: I have posted this in win9x forum, but I know you folks here know the dos commands better, so here goes: 2 questions: 1. Is there a way to shutdown a dos window after a batch file is done executing. I...
Summary: I am calling a batch file from a visual basic program. Is it possible to set the dos window to run minimized at runtime. When I run the app, It opens a dos window that stays open after the app is c...