binoyxj
PrOuD InDiAn
- Joined
- 4 May 2008
- Messages
- 475
Open Notepad
Copy and paste the script given below
@echo off
echo Enter Seconds To Shutdown
set /p stime=
cls
echo Your PC Will Auto Shutdown after %stime%
choice /t %stime% /c yn /d y /n /m "Press 'n' to abort shutdown"
if ERRORLEVEL 2 goto ext
if ERRORLEVEL 1 goto sht
:sht
shutdown -s -t 00
goto ext
:ext
exit
Save the text as AutoShutdown.bat
Double click the file, It will prompt to enter shut down time in seconds. Enter time in seconds and hit Enter. System will shut down at the specified time....
Copy and paste the script given below
@echo off
echo Enter Seconds To Shutdown
set /p stime=
cls
echo Your PC Will Auto Shutdown after %stime%
choice /t %stime% /c yn /d y /n /m "Press 'n' to abort shutdown"
if ERRORLEVEL 2 goto ext
if ERRORLEVEL 1 goto sht
:sht
shutdown -s -t 00
goto ext
:ext
exit
Save the text as AutoShutdown.bat
Double click the file, It will prompt to enter shut down time in seconds. Enter time in seconds and hit Enter. System will shut down at the specified time....