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
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
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
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
Summary: Can any body show me how to close the DOS windows automatically in a batch (DOS) file program. I have a batch file program that ftp to host to downloading files, but it needs to schedule to run autom...
Summary: I have a .bat file that starts a program and deletes a file. Is there a way I can automatically close the DOS window when the the last command is run? ...