Blogger Widgets


How to Create timer shutdown
create timer shut down

Create timer shut down

1. open notepad
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 extension
4. run that batch file and enter your time (time must be in seconds)
-->

How to Create timer shutdown

Post a Comment

 
Top