How To Make A Shutdown Timer

Posted by
To create a batch file for this you can use notepad, and save the file as ( .bat )
Here are the most used batch files for shutdown:
1.      SHUTDOWN:
shutdown -s
2.      RESTART:
shutdown -r
3.      FORCEDOWN:
shutdown -f
4.      LOGOFF:
shutdown -l
(replace computername with the name of your computer  )
shutdown -s -m \\computername
Specify Time
shutdown -s -t 60
Give Us Some Info!
shutdown -s -t 120 -c “You better finish, because I shut you down foo!”
Shutdown A Remote Computer
shutdown -s -m \\desktop -t 60
Display a GUI. It must be the first switch
Log off the user (This cannot be used on a remote machine: “-m” switch)
Shutdown the computer
Restart the computer
Cancels a system shutdown already in progress
Forces running applications to close without warning
-m \\computername
Instruct a remote computer to shutdown (can be used with the restart & abort switches)
-t xx
Set a given time for shutdown, in seconds
-c “comment”
Shutdown comment (maximum of 127 characters)
 You don’t have to use them all, but the switches you do use must be in the following order:
shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c “comment”]
Run This Batch script and your computer will shut down automatically in 60 Seconds.

Posted by Shubham ;)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.