注册 登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

云海间的博客

明月出天山,苍茫云海间

 
 
 

日志

 
 

Create Shutdown / Restart / Lock Icons in Windows 7 or Vista  

2011-10-27 12:48:58|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
创建关机 、重启、锁定 快捷方式

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.

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.

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.

image

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

image

Shutdown Computer


Shutdown.exe -s -t 00


Restart Computer


Shutdown.exe -r -t 00


Lock Workstation


Rundll32.exe User32.dll,LockWorkStation


Hibernate Computer


rundll32.exe PowrProf.dll,SetSuspendState


Sleep Computer


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.

image

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.

image

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.

image

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…


  评论这张
 
阅读(366)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018