Shut down your system after you sleep
All of you know that Windows has got an inbuilt Task Scheduler. We are using this and Batch Files to make this possible. The Windows task scheduler allows at to run specific programs, open files or run scripts at pre-specified time and a Batch File allows us to run a command Line command on the Click of a mouse. So here are the steps to make the shutting down possible.
Correction! 1. Make a Batch File named Shut.bat (or whatever you need) and type in shutdown -s then save it.
.
2. Take START»All Programs»Accessories»System Tools»Scheduled Tasks. Double Click on New Task. No a Scheduled Task Wizard will appear. Click "Next". A dialog allowing you to select the program to be run will appear.
. Click on "Browse" and Go to the folder where you saved the Shutdown.bat. Select your file and Press "OK".
If you need to open a file or something at a prespecified time select it, just make sure that in FILES OF TYPE you specify ALL FILES.
3. On the Next dialog Enter your TIME to shutdown and PASSWORD and other options if necessary. Close the wizard and you are done.Now when the time for shutdown arrives the Batch File is automatically run and the "shutdown -s" command tells the computer to shutdown. Here a time limit of 30 seconds by default is provided before Shutdown (if you need to change this change the command -s it is given here)
If you need to cancel the shutdown now goto command Prompt (shortcut WIN+R type cmd) and type shutdown -a this Aborts all Shutdown processes.
.So the Next time you are in a situation like this "go get some sleep" , the computer will take care of itself.
External Links : None
Add to Delicious | Submit to Netscape | Stumble this
Labels: Command Prompt, Tips, Windows

9 Comments:
you can also use this software
AMP winOFF easy to use and has many options from ampsoft.net
By
shashank, At
April 2, 2007 11:20 PM
This tip is really useful, but more easily we can shutdown the system using softwares..there are quite a few of them.
By
Nirmal, At
April 3, 2007 11:52 AM
Well NIRMAL and SHASHANK you are both right.. but this is the tip that can be used any where, even if softwares are not available... Beside some people like me don't really appreciate installing tons of softwares..
By
Ajith, At
April 3, 2007 3:01 PM
This is exactly what I needed to see. I knew how to shutdown the computer, but I kept getting the infinite loop and didn't know why. Renamed my file and it worked like it should have hours ago!
By
Anonymous, At
July 28, 2007 3:55 PM
hi this look really useful but my PC shut down right after i logged on please help!!
By
Agent47, At
December 16, 2007 5:17 PM
Hi Agent47 can you please contact me at ajithkpunnoose 'at' gmail.com
Ill reply through email and then post it at my new blog : Exnol - Simple Informations Is it OK
By
Ajith, At
December 16, 2007 9:02 PM
what do u use ? MSN? oh and write me ur email again please thank you
By
Agent47, At
December 16, 2007 10:06 PM
for ur information my PC countdown was like 3 second i haven't got time to do anything
By
Agent47, At
December 16, 2007 10:15 PM
Hi Agent47
I think the script doing this on your system will have the -t switch used along with shutdown ie:
shutdown -s -t 03
This can be done in many ways actually so please tell me what OS (XP - prof or home) you are using. and my email is
ajithkpunnoose'at'gmail.com
By
Ajith, At
December 17, 2007 8:27 AM
Post a Comment
Subscribe to Post Comments [Atom]
<< Home