DOS Shutdown shutdown Command _dos/bat

Source: Internet
Author: User
Shutdown [-i |-l |-S |-r |-a] [-f] [-M \\computername] [-t XX] [-c ' comment '] [D-UP:XX:YY]

No parameters to display this message (same as?)
-I display GUI interface, must be the first option
-L logoff (cannot be used with option-m)
-S shutdown this computer
-R shutdown and restart this computer
-A abort system shutdown
-M \\computername remote computer shutdown/reboot/Abort
-T XX setting the timeout for shutdown is xx seconds
-C "comment" closes comment (maximum 127 characters)
-F forced-run application shutdown without warning
-D [p]:xx:yy shutdown reason code
U is user code
P is a planned shutdown code
XX is a primary reason code (a positive integer less than 256)
YY is a secondary reason code (a positive integer less than 65536)

-F: Forcibly shutting down the application

-m\\ computer name: Controlling remote computer

-I: Displays the graphical user interface, but must be the first option for shutdown

-L: Log off Current user

-r: Shutdown and reboot

-T time: set down shutdown countdown

-C "Message content": Enter the message contents in the Shutdown dialog box (not exceeding 127 characters)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.