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