Windows XP shutdown program detailed

  
Windows XP shutdown is controlled by Shutdown.exe program, located in the Windows\\System32 folder, if your computer should be shut down at 22:00, you can choose "Start → Run", enter "at 22:00 Shutdown -s", so that by 22 o'clock the computer will appear in the "System Shutdown" dialog box, the default has a 30 second countdown and prompts you to save the work. If you want to shut down in a countdown mode, you can type "Shutdown.exe -s -t 3600", which means that it will automatically shut down after 60 minutes, and "3600" means 60 minutes. After

set up automatic shutdown, if you want to cancel, you can enter "shutdown -a" on the fly. In addition, if you enter "shutdown -i", you can open the Set Auto Shutdown dialog box to set the Auto Shutdown.

Shutdown.exe of parameters, each with a specific purpose, will perform each produce different results, such as "-s" means closed on the local computer, "- a" indicates cancel the shutdown operation, the following More parameters are listed and can be used as needed in Shutdown.exe.

-f: Force application to close

-m \\\\ computer name: remote control computer

-i: displaying a graphical user interface, but it must first be Shutdown option

-l: log off the current user

-r: shut down and restart

-t time: set off the countdown

-c "message content ": message content enter the shutdown dialog box (can not exceed 127 characters)

sometimes, we need to regularly shut down the computer, here's a simple way to achieve regular shutdown in Windows XP.

specify the system automatically turns off after 22 minutes: Click "Start → Run", enter the command "Open" in the "Shutdown-s -t 1320" (Note: do not enter quotation marks, spaces between the parameters, The unit of 1320 is seconds), click the "OK" button.

specify the system shut down automatically at a certain time (for example 12:00): Enter the command in the "Open" in "at 12:00 Shutdown -s" can be.

cancel sleep timer: Enter the command in the "Open" in the "Shutdown -a" can be.

are able to achieve using the "Shutdown" command implemented, shutdown input parameter is "shutdown" in the command line window. The author thinks that the most useful is the "-i" parameter, which can call up the "remote shutdown dialog box", which can easily realize the remote shutdown of the computer in the LAN. Interested friends can give it a try.