Computing.Net > Forums > Disk Operating System > Close dos window with batch

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.

Close dos window with batch

Reply to Message Icon

Name: Christoffer
Date: January 25, 2001 at 08:06:50 Pacific
Comment:

Is there a way to get the dos window to disaper after have executed a batch file in windows.
Thanx in advance
Christoffer



Sponsored Link
Ads by Google

Response Number 1
Name: DoOMsdAY
Date: January 25, 2001 at 08:16:43 Pacific
Reply:

Three ways I can think of. 1) Make the last line of your Batch file "@exit" or 2) "cls" - or a combination of the two, or 3) modify the settings for a DOS program to select the option "Close window when finished" or whatever - I believe this is in the Control Panel (Start->Settings->Control Panel).


0

Response Number 2
Name: Ronin
Date: January 25, 2001 at 10:43:39 Pacific
Reply:

Right click on the dos icon for the bat file, scroll down to and click on properties, click on the program tab at the top, and as DoOMsdAY said, check off the close on exit option if the other directions didn't work.


0

Response Number 3
Name: DoOMsdAY
Date: January 25, 2001 at 10:45:42 Pacific
Reply:

Yeah, yeah...that was it. A few years away from 9x, you start forgetting things (with a little help from a trained psychologist). Thanks Ronin. :)


0

Response Number 4
Name: Ronin
Date: January 25, 2001 at 10:50:00 Pacific
Reply:

You're welcome Guru-san :)


0

Response Number 5
Name: DoOMsdAY
Date: January 25, 2001 at 11:27:01 Pacific
Reply:

Guru is a misnomer - as the saying goes, "The more you learn, the less you know". I see how true that is by the day...Guru-san. :P


0

Related Posts

See More



Response Number 6
Name: Ronin
Date: January 25, 2001 at 13:42:32 Pacific
Reply:

lol....

Ah, spoken like a true master of space and time. :O



0

Response Number 7
Name: DoOMsdAY
Date: January 25, 2001 at 15:22:48 Pacific
Reply:

If I was a master of space and time, I'd be able to send a Windows message from a thread to it's parent process' windowless control. Alas, instead I must resort to the Microsoft newsgroups and hope for the best... :P


0

Response Number 8
Name: Ronin
Date: January 25, 2001 at 20:43:19 Pacific
Reply:

:)


0

Sponsored Link
Ads by Google
Reply to Message Icon






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: Close dos window with batch

How to Close Dos windows www.computing.net/answers/dos/how-to-close-dos-windows-/4906.html

Closing DOS Window www.computing.net/answers/dos/closing-dos-window/11327.html

size of DOS window in batch www.computing.net/answers/dos/size-of-dos-window-in-batch/10618.html