Logoff, restart, shutdown shortcut commands

Source: Internet
Author: User

Sometimes we log off, restart, shutdown with the mouse point up very inconvenient and sometimes need to restart to verify some services or configuration, we can write a bat script as a command, we can create a new 3 blank TXT document on the desktop, type the following command:


Logout: Shutdown-l

Restart: shutdown-r-T 0

Shutdown: shutdown-s-T 0

650) this.width=650; "Width=" "height=" 163 "title=" 01.jpg "style=" width:221px;height:88px; "src="/HTTP/ S2.51cto.com/wyfs02/m00/8c/4d/wkiom1hpyeotyjycaaa93wqgtjk190.jpg-wh_500x0-wm_3-wmp_4-s_3958049348.jpg "alt=" Wkiom1hpyeotyjycaaa93wqgtjk190.jpg-wh_50 "/>


The above command can also be entered directly in the win+r operation.

They are saved as. bat files and can be easily executed by double-clicking.


This article is from the "Whim" blog, please be sure to keep this source http://yrqsxsy.blog.51cto.com/10248815/1888227

Logoff, restart, shutdown shortcut commands

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.