Wednesday, 11 February 2015

How To Make A Shutdown Timer In Command Prompt (Cmd)

Hi There !, Yeah You :D, I Am Gonna Show You How To Make A Shutdown Timer Using Command Prompt (Cmd), First Of All Create A New Text Document.


Now Select "Tools", And Select "Folder Options".


Now, Uncheck The "Hide Extensions For Known File Types".


Now, Rename "New Text Document.txt" To "Shutdown Timer.cmd".


Now, Right Click On "Shutdown.cmd" And Select Edit.


Now Copy The Following Code,

@echo Off
:Start
Cls
Echo Enter Time(Sec) To Set System Shutdown In Progress...
Echo =====================================================
Set /P "Time=>"
Cls
start %Systemroot%\system32\shutdown.exe -t %Time% -s
Cls
Echo A System Shutdown In %Time% Seconds Is In Progress...
Echo =====================================================
Pause>nul
Exit


Now, Enter A Time Quantity To Make A System Shutdown In Progress, "In Seconds".


As You Can See I Entered 60, So It's Gonna Make System Shutdown In 60(Seconds).

Just Like That :) .

For Ending Up A System Shutdown Enter The "Shutdown -a", In Run.


Thanks For Visiting. :)
Note: Things In This Script Got To Be Updated. -_-
Please Subscribe.

No comments:

Post a Comment