Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to create an one-click shutdown shortcut for Win8

Shulou Source: shulou.com Published: 2022-05-31 18:40:04 09月24日 Update

This article mainly shows you "Win8 how to create a button shutdown shortcut", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Win8 how to create a button shutdown shortcut" this article.

1. Right-click on Desktop New, and select a shortcut in the new menu item that opens.

In the create Shortcut window, type the location of the object here, enter the shutdown code shutdown.exe-s-t 00, and then click next.

3. The next step is to fill in the name of the shortcut. Since we want to shut down the phone with one button, just fill in the shutdown key directly.

4. After the shortcut of the shutdown key is created, there is no icon. At this time, we need to right-click on the desktop and select Properties in the open menu item.

5. In the shutdown key properties window, switch to the top shortcut tab and click the change icon

6. You can choose whatever icon you like.

7. If you want to dock to the start screen, right-click the shutdown key shortcut, select from the open menu item, and dock to the start screen.

Of course, users who want to set keyboard shortcuts such as restart, lock, hibernation and sleep can also do this by changing the code.

Turn off the computer: shutdown.exe-s-t 00

Restart the computer: shutdown.exe-r-t 00

Lock the computer: rundll32.exe user32.dll,LockWorkStation

Dormant computer: rundll32.exe powrProf.dll,SetSuspendState

Sleep computer: rundll32.exe powrprof.dll,SetSuspendState 0pl 1je 0

The above is all the contents of the article "how to create an one-button shutdown shortcut for Win8". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Mode computer one button icon content article menu selection code screen properties desktop hibernation learning help sleep location just can pass name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB NVidia Huawei vpn macOS