Command Line shutdown command ---- shutdown Windows XP is controlled by the shutdown.exe program, which is located in the windows \ system32 folder. If you enter "shutdown-T 0", the system will immediately shut down. For example, to shut down your computer at, you can select start> Run and enter "at shutdown-s, at, the "system shutdown" dialog box appears. By default, there is a 30-second countdown and you are prompted to save your work. If you want to shut down in the countdown mode, you can enter “shutdown.exe-s-t 3600 ", which indicates 3600 seconds, that is, the system will automatically shut down in an hour. If you want to cancel Automatic shutdown, enter "shutdown-a" during running ". In addition, enter "shutdown-I" to open the Set automatic shutdown dialog box and set the automatic shutdown. Depends on your needs. -F: forcibly close the application-M :\\ computer name: Control Remote Computer-I: displays the graphical user interface, but must be the first option of shutdown-l: cancel current user-R: Shut down and restart-T: Time: Set shutdown countdown-C: "message content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters) Example: 1. shutdown at the specified time. For example, shutdown-s at indicates shutdown. 2. Shutdown for a period of time. For example, shutdown-s-t 3600 indicates that shutdown is performed on time after 3600 seconds (that is, 1 hour. 3. if the shutdown command is mistakenly executed, you can cancel the automatic shutdown: shutdown-A4. shut down and restart the system on time at pm. If the system has an application being executed at the time of shutdown, force the shutdown: command: at shutdown-F-r-c "2010-05-04 PM run the shutdown command on time" shutdown-F-r-t 3600-c "the computer restarts automatically one hour later"
Doscommand line Timed Shutdown & cancel Timed Shutdown