Saturday 5 March, 2011

SHUTDOWN IN NOTEPAD

            Open notepad  copy below coding 


shutdown -a
@echo off
title system batch
color 1E
cls
echo.
echo shutdown time must be more than 30 seconds.
set /p second= SECONDS before shutdown
set /p minutes= MINUTES before shutdown
set /a minute=minute"*"60
set /p hour=HOURS before shutdown
set /a hour=hour"*"3600
set/a shutdown=second"+"minutes"+"hour
if %shutdown% LSS 30 exit
shutdown -s -t %shutdown%

-------------------------------------------------
save“example.bat” in any location
After that u can shutdown automatically in given time

No comments:

Post a Comment

Recent

Followers

AddUrlYahoo
Powered by Blogger.