利用修改注册表文件,我们可以在“我的电脑”的右键菜单中增加“服务”项,这样就不用“控制面板”-“管理员工具”-“服务”这么麻烦的用鼠标点击了。
按照如下格式用记事本编辑文本,保存为.reg格式。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-; ; 08002B30309D}shellservices]
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00
"SuppressionPolicy"=dWord:4000003c
[HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D}shellservicescommand]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00
利用修改注册表文件,我们可以实现PowerToys中的“cmd here”功能,即在资源管理器中任意目录点击鼠标右键,出现“在这里打开命令行”选项,这样可以直接在cmd模式中进入该目录,对于中文目录尤其方便。
标签: