Code for Reboot.bat ---------------------- REM Objective: TO reboot all the machine listed in D:\script\reboot\serverlist.txt REM Created by : MAK REM Created Date: Jan 5, 2005 REM Save this file as D:\scripts\reboot\reboot.bat for /f "tokens=1,2,3" %%i in (D:\scripts\reboot\serverlist.txt) do c:\windows\system32\shutdown.exe /m \\%%i /r /f /c "You machine is going to be restarted in 10 minutes" /t 600 Code for AbortReboot.bat ------------------------- REM Objective: TO abort reboot on all the machine listed in D:\script\reboot\serverlist.txt REM Created by : MAK REM Created Date: Jan 5, 2005 REM Save this file as D:\scripts\reboot\abortreboot.bat for /f "tokens=1,2,3" %%i in (D:\scripts\reboot\serverlist.txt) do c:\windows\system32\shutdown.exe /a /m \\%%i