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

Close dos window with batch

Reply to Message Icon

Original Message
Name: Christoffer
Date: January 25, 2001 at 08:06:50 Pacific
Subject: Close dos window with batch
Comment:

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


Report Offensive Message For Removal


Response Number 1
Name: DoOMsdAY
Date: January 25, 2001 at 08:16:43 Pacific
Subject: Close dos window with batch
Reply: (edit)

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).


Report Offensive Follow Up For Removal

Response Number 2
Name: Ronin
Date: January 25, 2001 at 10:43:39 Pacific
Subject: Close dos window with batch
Reply: (edit)

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.


Report Offensive Follow Up For Removal

Response Number 3
Name: DoOMsdAY
Date: January 25, 2001 at 10:45:42 Pacific
Subject: Close dos window with batch
Reply: (edit)

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. :)


Report Offensive Follow Up For Removal

Response Number 4
Name: Ronin
Date: January 25, 2001 at 10:50:00 Pacific
Subject: Close dos window with batch
Reply: (edit)

You're welcome Guru-san :)


Report Offensive Follow Up For Removal

Response Number 5
Name: DoOMsdAY
Date: January 25, 2001 at 11:27:01 Pacific
Subject: Close dos window with batch
Reply: (edit)

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


Report Offensive Follow Up For Removal


Response Number 6
Name: Ronin
Date: January 25, 2001 at 13:42:32 Pacific
Subject: Close dos window with batch
Reply: (edit)

lol....

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



Report Offensive Follow Up For Removal

Response Number 7
Name: DoOMsdAY
Date: January 25, 2001 at 15:22:48 Pacific
Subject: Close dos window with batch
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 8
Name: Ronin
Date: January 25, 2001 at 20:43:19 Pacific
Subject: Close dos window with batch
Reply: (edit)

:)


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Close dos window with batch

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge