参考:https://blog.csdn.net/lpwmm/article/details/104386563
本来想添加一个Ubuntu里实用功能,右键运行Terminal。看到注册表后也不复杂,干脆多添几样,节省桌面图标位置。
把下面代码保存为reg文件,双击引入即可。除个别外,其他都是三行对应一个菜单项。
具体使用是 在桌面或文件管理器里的空白处 右键单击
Windows Registry Editor Version 5.00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 如需清除注册表项, 在前面加一个减号,例如 [-HKEY_CURRENT_USER\........]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 注释为引号开头,但必须在一行的启示,不能在语句后
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 回复经典的4个桌面图标
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000000
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000000
"{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Rufus 等软件里不能访问 映射盘
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 未选中项目时的右键菜单,桌面空白处或文件管理器的空白处有效
[HKEY_CLASSES_ROOT\Directory\Background\shell\网站 Baidu]
[HKEY_CLASSES_ROOT\Directory\Background\shell\网站 Baidu\command]
@="msedge baidu.com"
[HKEY_CLASSES_ROOT\Directory\Background\shell\网站 Fanyi]
[HKEY_CLASSES_ROOT\Directory\Background\shell\网站 Fanyi\command]
@="msedge fanyi.baidu.com"
[HKEY_CLASSES_ROOT\Directory\Background\shell\网站 测速]
[HKEY_CLASSES_ROOT\Directory\Background\shell\网站 测速\command]
@="msedge speedtest.cn/"
[HKEY_CLASSES_ROOT\Directory\Background\shell\查看 此电脑]
[HKEY_CLASSES_ROOT\Directory\Background\shell\查看 此电脑\command]
@="explorer.exe /e, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
[HKEY_CLASSES_ROOT\Directory\Background\shell\查看 文档]
[HKEY_CLASSES_ROOT\Directory\Background\shell\查看 文档\command]
@="explorer.exe /e"
[HKEY_CLASSES_ROOT\Directory\Background\shell\查看 Z盘]
[HKEY_CLASSES_ROOT\Directory\Background\shell\查看 Z盘\command]
@="explorer.exe z:"
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 程序]
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 程序\command]
@="control appwiz.cpl"
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 网卡]
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 网卡\command]
@="control ncpa.cpl"
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 声音]
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 声音\command]
@="control mmsys.cpl"
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 设备管理器]
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 设备管理器\command]
@="control hdwwiz.cpl"
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 移动中心]
[HKEY_CLASSES_ROOT\Directory\Background\shell\设置 移动中心\command]
@="mblctr"
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 资源监视器]
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 资源监视器\command]
@="resmon.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 画图]
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 画图\command]
@="mspaint"
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 计算器]
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 计算器\command]
@="calc"
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 截图]
[HKEY_CLASSES_ROOT\Directory\Background\shell\工具 截图\command]
@="snippingtool"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 当前位置管理员运行 CMD
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="工具 在此位置以管理员身份运行CMD"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@="工具 在此位置以管理员身份运行CMD"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Drive\shell\runas]
[HKEY_CLASSES_ROOT\Drive\shell\runas]
@="工具 在此位置以管理员身份运行CMD"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 选中文件或文件夹后,右键增加如下选项,相当于按下Shift后单击右键
[HKEY_CLASSES_ROOT\*\shell\copypath]
@="复制文件路径"
[HKEY_CLASSES_ROOT\*\shell\copypath\command]
@="mshta vbscript:clipboarddata.setdata(\"text\",\"%1\")(close)"
[HKEY_CLASSES_ROOT\Directory\shell\copypath]
@="复制文件夹路径"
[HKEY_CLASSES_ROOT\Directory\shell\copypath\command]
@="mshta vbscript:clipboarddata.setdata(\"text\",\"%1\")(close)"
我的任意门:(几个关于Windows的小文章)
Windows 用户的修养
Windows11 真的来了
Windows11 老爷机也尝鲜
Windows11 的体验
Windows11 登陆 Egde
Windows11 登陆 小组件
Windows10 网络安装
Windows To Go
Windows10 添加常用程序到右键菜单
自己做多媒体键盘