shutdown.exe Program , which is located in the windows \ system32 folder.
enter " at shutdown-S , at, the "system shutdown" dialog box appears. The default countdown is 30 seconds and you are prompted to save your work. Shutdown in Countdown mode, input
"shutdown.exe-s-t 3600" indicates shutdown after 60 minutes.
If you cancel the operation, you can enter "shutdown-a" in the running process ". In addition, enter "shutdown-I" to open the dialog box
to set automatic shutdown.
usage: shutdown [-I |-L |-S |-r |-A] [-F] [-M // computername] [-T XX] [-c "comment"] [-D up: XX: yy]
no parameters show this message (? Same)
-I display GUI, must be the first option
-l logout (cannot be used with option-m)
-s disable this computer
-r Disable and restart this computer
-a discard system shutdown
-M // computername Remote Computer shutdown/restart /discard
-t xx: Set the timeout for disabling to XX seconds
-c "comment": Close comments (up to 127 characters)
-F indicates that the application running forcibly is disabled without warning
-d [u] [p]: XX: Code
U is the user code.
P is the program's closing code.
XX is the main cause. cause code (a positive integer smaller than 256)
YY is the code for a secondary cause (a positive integer smaller than 65536)
-F: forcibly close the application
-m \ computer name: remote Computer Control
-I: displays the graphical user interface, but must be the first option of shutdown
-L: deregister 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)