Showing posts with label auto. Show all posts
Showing posts with label auto. Show all posts

Thursday, November 11, 2010

Auto ShutDown

You can make your PC shutdown any time you want.
Here are some tricks.
 
FIRST:-
Step 1:
Right click on your desktop and choose "New” and then “shortcuts".
Step 2:

In the box that says "Type the location of the shortcut",
type in "shutdown -s –t 120" without the quotation marks and click next.
Note: 120 are the amount of seconds before your computer shuts down. So , 60secs+60secs=120secs.
Step 3:
Make up a name for the shortcut and you're done.
You can change the icon by right clicking and choosing “properties” > “change icon” > “browse” and then select the icon image.
To terminate:
To make an terminate key to stop the shutdown timer just create another shortcut and make
the "location of the shortcut" to " shutdown -a" without the quotes.

SECOND:-
Here is another trick to shutdown at a specific time, for example you wish to shutdown at 3:00am. Go to “start” > “Run” and type
“at 3:00 shutdown –s” without the quotes.
To terminate:
Type in,
“shutdown –a” without the quotes.
Note: all time are in 24hr, example you would like to shutdown at 7:30pm, you should type
"at 19:30 shutdown -s" without quote


THIRD:-
you can use a batch file for that as well it makes it easier to use
just run the batch and enter the time you want it to shutdown. Make a batch file “shutdown.bat” and type in the following code,

@echo off
title Scheduled Shutdown Batch Example by khushifairy
color A
echo Enter Time To Shutdown (example 19:30)
set /p sdowntime=
cls
at % sdowntime % ""shutdown -s -t 00"" >nul
echo Your PC Will Auto Shutdown At % sdowntime %
echo Press Any Key To Exit
pause >nul
exit



also you can add -c "desired message" at the end of the shutdown command
for example,
shutdown -s -t 60 -c "System is going to shutdown"
Using this command you can also schedule your pc to restart
for example,
shutdown -r -t 60 -c "System is going to Restart within 60 secs"

Enjoy... :)