How to Create timer shutdown
2. paste following commands in notepad
@echo off:CONFIRM
echo Are you sure to shutdown this computer? (Y/N)
set/p "cho=>"
if %cho%==Y goto shutd
if %cho%==y goto shutd
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:shutd
Echo enter the time (in seconds)
set/p "time=>"
shutdown -s -t %time% -c "You are about to shutdown(you type your own message here)"
3. save it with .bat extension4. run that batch file and enter your time (time must be in seconds)
@echo off:CONFIRM
echo Are you sure to shutdown this computer? (Y/N)
set/p "cho=>"
if %cho%==Y goto shutd
if %cho%==y goto shutd
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:shutd
Echo enter the time (in seconds)
set/p "time=>"
shutdown -s -t %time% -c "You are about to shutdown(you type your own message here)"
3. save it with .bat extension4. run that batch file and enter your time (time must be in seconds)
-->
How to Create timer shutdown
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.