Sometimes, we need to shut down the computer at regular intervals, and here's an easy way to implement a timed shutdown under Windows XP.
The shutdown of Windows is controlled by the Shutdown.exe program.
Parameters of the Shutdown.exe:
[Plain]View Plaincopy
- -A cancel shutdown operation
- -S shut down the local computer
- -F forcibly closing the application
- -m \ \ computer Name: Control remote computer
- -I displays a 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)
Example: ("Start"-〉 "Run")
Note: Quotation marks are not entered, there are spaces between the parameters.
1. Specify that the system automatically shuts down after 22 minutes
"Shutdown-s-T 1320" (1320 units in seconds)
2. Specify that the system automatically shuts down at a certain time (e.g. 12:00)
"At Shutdown-s"
3. Cancel the timer shutdown:
"Shutdown-a"
Windows actions-timed off computer