图标缓存 vista_在Windows 7或Vista中创建关机/重新启动/锁定图标

图标缓存 vista_在Windows 7或Vista中创建关机/重新启动/锁定图标

图标缓存 vista

If you dislike the new Windows Vista shutdown menu, you are probably in the majority. An alternative option is to create icons that will let you shut down, lock, or restart your computer without having to mess with that stupid popup menu.

如果您不喜欢新的Windows Vista关闭菜单,则可能是大多数。 另一种选择是创建图标,使您可以关闭,锁定或重新启动计算机,而不必弄乱该愚蠢的弹出菜单。

Of course, Windows 7 makes the shutdown menu a lot better, but if you want a shortcut elsewhere or to assign a hotkey, this should help you out.

当然,Windows 7可以使关闭菜单更好一些,但是如果您想在其他地方使用快捷方式或分配热键,则可以为您提供帮助。

This tip is nothing new, and probably very old hat to most of the advanced geeks reading this feed. I’ve been asked this question so many times in the last month that I decided to finally just write it up for everybody.

这个技巧并不是什么新鲜事物,对于大多数阅读此提要的高级怪人来说可能是很老的帽子。 在过去的一个月中,我被问过很多次这个问题,以至于我最终决定只为每个人写这个问题。

First right-click on the desktop, choose New and then Shortcut.

首先右键单击桌面,选择“新建”,然后选择“快捷方式”。

图标缓存 vista_在Windows 7或Vista中创建关机/重新启动/锁定图标

In the shortcut location box, you’ll need to enter the correct command, which I’ve listed for you below.

在快捷方式位置框中,您需要输入正确的命令,下面已为您列出了正确的命令。

图标缓存 vista_在Windows 7或Vista中创建关机/重新启动/锁定图标

Shutdown Computer

关机电脑

Shutdown.exe -s -t 00

Shutdown.exe -s -t 00

Restart Computer

重新启动电脑

Shutdown.exe -r -t 00

Shutdown.exe -r -t 00

Lock Workstation

锁工作站

Rundll32.exe User32.dll,LockWorkStation

Rundll32.exe User32.dll,LockWorkStation

Hibernate Computer

Hibernate计算机

rundll32.exe PowrProf.dll,SetSuspendState

rundll32.exe PowrProf.dll,SetSuspendState

Sleep Computer

睡眠电脑

rundll32.exe powrprof.dll,SetSuspendState 0,1,0

rundll32.exe powrprof.dll,SetSuspendState 0,1,0

When you’ve clicked next on the above dialog, you’ll be asked to name the shortcut. Probably best to name it according to the right function.

在上述对话框中单击下一步后,将要求您命名快捷方式。 最好根据正确的功能命名。

图标缓存 vista_在Windows 7或Vista中创建关机/重新启动/锁定图标

After you click Finish, you should now have a new icon that you can double-click to immediately shutdown, restart, or lock your computer.

单击“完成”后,现在应该有一个新图标,您可以双击该图标立即关闭,重新启动或锁定计算机。

Change Shortcut Icon

更改快捷方式图标

The default icon is really ugly, and if you want to have separate shortcuts for each function you might want to change the icon. Right-click on the icon and choose properties.

默认图标确实很丑陋,如果您想为每个功能使用单独的快捷方式,则可能需要更改图标。 右键单击该图标,然后选择属性。

图标缓存 vista_在Windows 7或Vista中创建关机/重新启动/锁定图标

Click the Change Icon button, and then you can pick from the available icons in the system, or you can use the Browse button to pick an icon you downloaded off the web.

单击“更改图标”按钮,然后您可以从系统中的可用图标中进行选择,也可以使用“浏览”按钮来选择从网络上下载的图标。

图标缓存 vista_在Windows 7或Vista中创建关机/重新启动/锁定图标

Note that you can drag them to your quick launch bar if you’d prefer to have them there.

请注意,如果您希望将它们拖到快速启动栏中,则可以将它们拖到快速启动栏中。

And so ends the tale of the shutdown icons…

从而结束了关机图标的故事……

翻译自: https://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/

图标缓存 vista