easyui关机图标_如何在Windows 10中创建关机图标

easyui关机图标

easyui关机图标

The Windows 10 Logo.

It’s true that shutting down your Windows 10 PC the old-fashioned way only takes three clicks. But why spend the extra energy when you can do it in two? All you have to do is create a shutdown icon, and you’ll save yourself some time.

的确,以老式方式关闭Windows 10 PC只需单击三下。 但是,如果可以一分为二,为什么还要花掉多余的精力呢? 您所要做的就是创建一个关闭图标,这样可以节省一些时间。

创建一个关机图标 (Create a Shutdown Icon)

To create a shutdown icon, right-click your Desktop, hover over “New,” and then select “Shortcut.”

要创建关闭图标,请右键单击您的桌面,将鼠标悬停在“新建”上,然后选择“快捷方式”。

Hover over "New," and then click "Shortcut."

The “Create Shortcut” menu appears. In the text box under “Type the location of the item,” type the following command and then click “Next”:

出现“创建快捷方式”菜单。 在“键入项目的位置”下的文本框中,键入以下命令,然后单击“下一步”:

Shutdown.exe /s /t 00

Shutdown.exe /s /t 00

Enter shutdown command

In the next window, type a name for your new shortcut if you want. “Shutdown” is the default, so we’ll leave it that for this example.

如果需要,在下一个窗口中,输入新快捷方式的名称。 “ Shutdown”是默认设置,因此在本示例中将其保留为默认值。

Click “Finish” to finish the setup process.

单击“完成”以完成设置过程。

Type a name for your shortcut in the text box, and then click "Finish."

Your new shutdown icon will appear on your Desktop.

新的关机图标将出现在桌面上。

A Shutdown icon on a desktop.

Now, whenever you double-click the icon, your PC will shut down instantly.

现在,只要双击该图标,您的PC就会立即关闭。

其他有用的快捷方式 (Other Useful Shortcuts)

As you might have guessed, in addition to Shutdown, there are several other shortcuts you can create. The good news is you don’t have to sacrifice one shortcut to have another—you can create as many as you want.

您可能已经猜到了,除了“关机”之外,您还可以创建其他几种快捷方式。 好消息是,您不必牺牲一个捷径就可以拥有另一个捷径-您可以创建任意数量的捷径。

The steps are the same as those we covered above, except you type different commands for each shortcut.

除了您为每个快捷方式键入不同的命令外,这些步骤与我们上面介绍的步骤相同。

So, once again, just right-click your Desktop, hover over “New,” and then select “Shortcut.” Then, type any of the commands below to create the other shortcuts you want.

因此,再次单击鼠标右键,将鼠标悬停在“新建”上,然后选择“快捷方式”。 然后,键入以下任何命令以创建所需的其他快捷方式。

Command Shortcut Icon Type
Shutdown.exe /r /t 00 Restart
rundll32.exe powrprof.dll,SetSuspendState 0,1,0 Sleep
rundll32.exe PowrProf.dll,SetSuspendState Hibernate
Rundll32.exe User32.dll,LockWorkStation Lock PC
命令 快捷方式图标类型
Shutdown.exe / r / t 00 重新开始
rundll32.exe powrprof.dll,SetSuspendState 0,1,0 睡觉
rundll32.exe PowrProf.dll,SetSuspendState 冬眠
Rundll32.exe User32.dll,LockWorkStation 锁电脑

翻译自: https://www.howtogeek.com/656672/how-to-create-a-shutdown-icon-in-windows-10/

easyui关机图标