Skip to main content

Countdown timer for shutdown computer

Many a times people like to sleep on music, but the problem is that the comp will continue running the whole night. Here is how you can create a countdown timer to shutdown your comp in your specified time.

Go to run in start menu and input this command

 shutdown -s -t 3600


this will create a countdown timer which will go off in 3600 seconds (1 Hour). you can replace the 3600 to any time limit you want the comp to shutdown ,but remember the time should always be expressed in seconds i.e if u want the comp to shutdown in Half an hour you have to write 1800 and so on...

If you are as lazy as me and don't want to input the command each time, then create a batch file or shortcut

Batch:
open a notepad and type

shutdown -s -t 3600

now in the files menu select "save as" and save this file as Activate.bat

Just double clicking this file will activate your timer

Shortcut:
On the desktop right click and create a new shortcut. in the location type

shutdown -s -t 3600


Give it any name like "Activate timer"
Again, double clicking this newly created shortcut will do the same.

FORCING THE SHUTDOWN:

another operator that you can use with this command is -f . this will force a shutdown on system. suppose you want the comp to shutdown as quickly as possible you can give command

shutdown -s -f -t 00


here we have used a -f operator and the delay is set to 0 seconds.

(as we are talking about quick shutdown, u can use command
c:windowssystem32tsshutdn.exe 00 /POWERDOWN /DELAY:00 also)

STOPPING THE TIMER:
Any time when you want to stop the running timer use a -a operator(standing for abort)

the command is

shutdown -a

You can use it in any way u prefer, like direct input in run (or command prompt) , create a .bat file or create a shortcut on desktop

SOME OTHER OPTIONS:

shutdown -r (restarting)
shutdown -r -t 3600 (timer for restarting in 1 hour)
shutdown -r -f -t 00 (quick reboot)

Comments

Popular posts from this blog

Best convertor FF(Format factory)

To Download FORMAT FACTORY free Just click HERE Format Factory is a multifunctional media converter. Provides functions below: All to MP4/3GP/MPG/AVI/WMV/FLV/SWF . All to MP3/WMA/AMR/OGG/AAC/WAV . All to JPG/BMP/PNG/TIF/ICO/GIF/TGA . Rip DVD to video file , Rip Music CD to audio file. MP4 files support iPod/iPhone/PSP/BlackBerry format. Supports RMVB , Watermark , AV Mux.  Format Factory's Feature: 1 support converting all popular video,audio,picture formats to others. 2 Repair damaged video and audio file. 3 Reducing Multimedia file size. 4 Support iphone,ipod multimedia file formats. 5 Picture converting supports Zoom,Rotate/Flip,tags. 6 DVD Ripper . 7 Supports 56 languages OS requirements: All Windows OS

How to modify exe

learn how to change *.exe files, in 5 easy steps: 1) Don't try to modify a prog by editing his source in a dissasembler.Why? Cause that's for programmers and assembly experts only. try to view it in hex you'll only get tons of crap you don't understand. First off, you need Resource Hacker(last version). It's a resource editor- very easy to use, You can download it at h**p://www.users.on.net/johnson/resourcehacker/ 2) Unzip the archive, and run ResHacker.exe. You can check out the help file too 3) You will see that the interface is simple and clean. Go to the menu FileOpen or press Ctrl+O to open a file. Browse your way to the file you would like to edit. You can edit *.exe, *.dll, *.ocx, *.scr and *.cpl files, but this tutorial is to teach you how to edit *.exe files, so open one. 4) In the left side of the screen a list of sections will appear. The most common sections are -String table; -RCData; -Dialog; -Cursor group; -Bitmap; -WAV. *Icon: You can wiew and change

One-click PC shut down

This is really very easy one but very effective one. Enjoy it! First, create a shortcut on your desktop by right-clicking on the desktop, choosing New, and then choosing Shortcut. The Create Shortcut Wizard appears. In the box asking for the location of the shortcut, type shutdown. After you create the shortcut, double-clicking on it will shut down your PC. But you can do much more with a shutdown shortcut than merely shut down your PC. You can add any combination of several switches to do extra duty, like this shutdown -r -t 01 -c “Rebooting your PC” Double-clicking on that shortcut will reboot your PC after a one-second delay and display the message “Rebooting your PC.” The shutdown command includes a variety of switches you can use to customize it. Table 1-3 lists all of them and describes their use. I use this technique to create two shutdown shortcuts on my desktop—one for turning off my PC, and one for rebooting. Here are the ones I use: shutdown -s -t 03 -c “Bye Bye!” shutdo