Started blogging again: Windows restart command related

Source: Internet
Author: User

1. Windows XP (who said, Win7 also OK) under the Restart command

Shutdown/?

Usage: shutdown [/i|/l|/s|/r|/a|/p|/h|/e] [/f]

/I displays the graphical user interface (GUI).

/L logoff. This cannot be used with the/m or/d option

/s shut down the computer

/R shutdown and restart the computer

/A discards the system shutdown. (This can only be used during the timeout process)

/p shuts down the local computer without a timeout or warning. (This can only be used with the/d option)

/h hibernate the local computer. (This can only be used with the/F option)

/e Record the reason for the unexpected shutdown of the computer into the document

/m \\computer specifying the destination computer

The/t XXX setting expires before the timeout is xxx seconds. (Valid range is 0-600, default is 30)

/C "comment" The comment for the cause of the restart or shutdown. (maximum 127 characters allowed)

/F forces a running application to close without warning the user beforehand

/d [P:]xx:yy provides reasons for restart or shutdown

P indicates that the restart or shutdown is in the planned
XX is the main reason number (positive integer less than 256)
YY is a secondary reason number (a positive integer less than 65536)

Another day to further supplement the experimental summary.

Started blogging again: Windows restart command related

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.