RE: off the topic but, how do you reboot with a batch

  • From: "Patrick Cote" <Patrick.Cote@xxxxxxxxxxx>
  • To: "[ExchangeList]" <exchangelist@xxxxxxxxxxxxx>
  • Date: Fri, 13 Jun 2003 15:58:00 -0400

Hey Scott,
 
Just an idea but you could use the shutdown.exe tool in the Windows 2000 
Resource Kit and call that from your batch file.  Then you could create a 
second batch file and add that to the startup folder.  If you want the second 
batch not to occur every time you reboot just add a line like "del c:\Documents 
and Settings\All Users\Start Menu\Programs\Startup\batchfile.bat" to the end.
 
This making any sense ?!? :)
 
Pat

-----Original Message-----
From: Van Singel, Scott [mailto:svansingel@xxxxxxxxxxxxxxxxx]
Sent: Friday, June 13, 2003 3:40 PM
To: [ExchangeList]
Subject: [exchangelist] off the topic but, how do you reboot with a batch


http://www.MSExchange.org/

Group, 
 
 I would like to write a batch file to make a computer reboot and then finish 
the batch after it has rebooted. 
Does anyone have some ideas?
 
Scott
------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp
Exchange FAQ: http://www.msexchange.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
Leading Network Software Directory: http://www.serverfiles.com
No.1 ISA Server Resource Site: http://www.isaserver.org
Windows Security Resource Site: http://www.windowsecurity.com/
Network Security Library: http://www.secinf.net/
Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
------------------------------------------------------
You are currently subscribed to this MSExchange.org Discussion List as: 
patrick.cote@xxxxxxxxxxx
To unsubscribe send a blank email to $subst('Email.Unsub') 

Other related posts: