Monday, April 23, 2012

How do you schedule to shutdown computer after some mins (VISTA OS)?

@ECHO OFF
TITLE AUTO SHUTDOWN TIMER BY RABINDRA
SET /p min=Enter the number of mins :
SET /a sec=%min% * 60
TIMEOUT /T %sec% /NOBREAK >NUL
SHUTDOWN /s /t 0 /f

No comments :