Forum    News    Downloads    Saved Games


[Tutorial] Set a time for Automatic ShutDown.

<<

The Cookie Monster

User avatar

Brew Guru
Brew Guru

Posts: 2744

Joined: August 29 2009

Location: Narnia

Thanks given: 9 times

Thanks received: 54 times

Post Mon Feb 20, 2012 6:09 am

[Tutorial] Set a time for Automatic ShutDown.

Note :
- In method 1,The time must be given in a 24 hour clock format. So 10 am = 10:00 and 10 pm = 22:00.
- In method 2, The maximum seconds allowed are 600 for Windows Vista.
-For fast access (so you don't have to type the commands everytime), simply type in the command in notepad, and save it on your desktop. Make sure you save it as .bat. For example, save the file as "shutdown.bat" on your desktop. Now simply double-clicking the commands will make them run automatically.


Basically, this is how to shut down at a certain time automatically. No, you do not need any software.

Method 1 [Shutdown at a certain time] :
Open CMD or Command Prompt. (Make sure you Right-Click and select 'Run as Administrator' in Windows Vista/Seven.)
Now you simply have to type in a command. So let's say you want to shut down at 10:00 am, this will be your command :
at 10:00 shutdown -s
(Remember, this is for 10 am and not 10 pm)

Method 2 [Shutdown after a certain time] :
Open CMD or Command Prompt. (Make sure you Right-Click and select 'Run as Administrator' in Windows Vista/Seven.)
Now you simply have to type in a command. Let's say you want to shutdown after 10 minutes, this will be your command :
shutdown -s -t 600

(-s for shutdown
-r for restart
-t for time)
Last edited by The Cookie Monster on Wed Feb 22, 2012 8:24 am, edited 1 time in total.
-Formerly DCM
Image
Image

For this message the author The Cookie Monster has received thanks:
monkeymaximus
<<

monkeymaximus

User avatar

Brewery Owner
Brewery Owner

Posts: 1708

Joined: June 23 2005

Location: San Diego and Los Angeles and Seattle

Thanks given: 50 times

Thanks received: 40 times

Post Mon Feb 20, 2012 7:20 am

Re: [Tutorial] Set a time for Automatic ShutDown.

Nice tutorial! The latter command is basically the same thing as in Linux, its interesting that MS may be(?) moving towards having similar or the same commands.
[img]https://brewology.com/images/mm/monkeymaximus.jpg[/img]
http://img522.imageshack.us/img522/8907/monkeymaximus2ph.jpg

Return to Computer Chat

Who is online

Users browsing this forum: No registered users and 12 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for blacklist.org.