Windows XP shutdown is controlled by the Shutdown.exe program, which is located in the Windows/system32 folder. Such as
The result is that Windows 2000 also achieves the same effect by copying the Shutdown.exe to the System folder.
For example, your computer will be shut down at 22:00, can choose "Start → execute", enter "at 22:00 shutdown-s",
So, by the 22 point of the computer will appear the "System Shutdown" dialog box, the default has a 30-second countdown and prompts you to save the work
For Suppose you want to shut down in a countdown and be able to enter "shutdown.exe-s-T 3600", which means 60
Minutes after the active shutdown, "3600" stands for 60 Minutes.
Set up your own active shutdown, the false assumption is canceled, you can enter "Shutdown-a" in the execution. Additional input
"Shutdown-i", you can open the set up their own active shutdown dialog box, the initiative to shut down the computer settings.
Shutdown.exe, each of which has a specific purpose, each of which produces a different effect, for example
"-S" means to shut down the local computer, "-a" means to cancel the shutdown operation, a number of other parameters are listed below, everyone
Can be used on demand in Shutdown.exe.
-F: Forcibly closing the application
-m//Computer name: Controlling remote computer
-I: Displays the graphical user interface, but must be the first option of shutdown
-L: Log off the current user
-R: Shutdown and restart
-T time: Set shutdown countdown
-C "Message content": Enter the message content in the Shutdown dialog box (cannot exceed 127 characters)
Sometimes, we need to shut down the computer on a regular basis, and here is a simple side that implements a timed shutdown under Windows XP
Method.
Specifies that the system shuts itself down after 22 minutes: Click "Start → execute" and enter the command in "open" Shutdown
-S-T 1320 "(Note: The reference number is not entered, there is a space between the arguments, 1320 is in seconds), click OK
button to do it.
Specifies that the system voluntarily shuts down at some time (for example, 12:00): Enter a command in open
"At Shutdown-s" will be OK.
To cancel a timed shutdown: Enter the command "Shutdown-a" in "open".
Can be implemented using the "Shutdown" command, the Shutdown is entered in the command line form
"Shutdown". I think the most practical is "-i" parameters, can be called "Remote Shutdown Dialog",
Can be easily implemented in the LAN computer remote shutdown, interested friends can try.
Start-Programs-Accessories-System Tools-schedule tasks-Join Task Scheduler-next-Browse
-c:/windows/system32/shadow.exe-Next-Choose the time to turn off the machine,
Next-enter username and password, only if the system has users can, but must have password,
Do not have to set one, next, select "Open this task at the end of advanced properties",
After the execution bar, add the "-S" argument.
XP timer shutdown command?