laitimes

How to create an icon that double-clicks to turn it on and turns it off

author:Novice computer technology

Preface

Each version of Windows seems to have a different location of the shutdown button, and sometimes you can't find it at all. Sometimes I have to turn off the computer several times, and I am really anxious.

How to create an icon that double-clicks to turn it on and turns it off

In case you encounter an inaccurate look, the shutdown button can't be clicked. At this time, Xiaobai was thinking, can you get an icon on the desktop, double-click to open it to turn it off, this is simply refreshing.

How to create an icon that double-clicks to turn it on and turns it off

So, this time it's a very simple one: create a shortcut to shut down.

The body begins

1. Create a new shortcut

Click [Right Mouse Button] - [New] - [Shortcut] in the blank space of the desktop

How to create an icon that double-clicks to turn it on and turns it off

2. Fill in the shutdown command shutdown -s -t 0

When we talked about the shutdown shortcut before, we mentioned the use of shutdown -s -t 0.

  • Tutorial on setting up automatic shutdown on a Windows computer

To put it simply, fill in shutdown -s -t 0 into the [object location] in the shortcut

How to create an icon that double-clicks to turn it on and turns it off

Note that shutdown -s -t 0 has a space in between.

shutdown -s -t 0           

Then click Next

How to create an icon that double-clicks to turn it on and turns it off

Then fill in a name that you can understand, such as: power off. Then click Done

How to create an icon that double-clicks to turn it on and turns it off

That's basically done

How to create an icon that double-clicks to turn it on and turns it off

3. Change the icon

If you don't think the icon looks good, you can change the icon yourself. On the shortcut of [Shutdown], click [Right Mouse Button] - [Properties]

How to create an icon that double-clicks to turn it on and turns it off

Click the Change icon

How to create an icon that double-clicks to turn it on and turns it off

Find an icon you like, and then click OK

How to create an icon that double-clicks to turn it on and turns it off

Such a shutdown shortcut is done

How to create an icon that double-clicks to turn it on and turns it off

Double-click on this icon to shut down your computer directly. Isn't it convenient?

--End--

If you want to trick your friends, you can change the name to a more tempting type, such as "good-looking content", "don't open me", etc. Then change to a more seductive icon, such as a beautiful woman or something.

At this time, some friends or other people are curious, and after double-clicking the icon, the computer will shut down, which is not very exciting.

Read more

If you feel that it is too fast to double-click the icon to turn it on and immediately shut down, then adjust the time slightly, such as 1 minute or 30 seconds.

一分钟的关机命令
shutdown -s -t 60


30秒关机命令
shutdown -s -t 30