首页 技术教程搞机技巧正文

电脑右键常用设置菜单,共12条常用命令

所有目录背景(含桌面)右键常用设置效果图:

20231030-1

注册表如下:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu]
"Icon"="SHELL32.dll,314"
"MUIVerb"="常用设置(&A)"
"SubCommands"=""
"Position"="bottom"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell]

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\0 settings]
"MUIVerb"="设置 (&S)"
"Icon"="shell32.dll,314"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\0 settings\command]
@="explorer ms-settings:"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\00 services]
"MUIVerb"="服务 (&0)"
"Icon"="%windir%\\system32\\filemgmt.dll,0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\00 services\command]
@="mmc services.msc"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\01 regedit]
"MUIVerb"="注册表 (&1)"
"Icon"="regedit.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\01 regedit\command]
@="D:\\Startup\\RegistryFinder\\RegistryFinder.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\02 gpedit]
"MUIVerb"="组策略 (&2)"
"Icon"="C:\\Windows\\System32\\shell32.dll,90"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\02 gpedit\command]
@="mmc gpedit.msc"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\03 control]
"Icon"="control.exe"
"MUIVerb"="控制面板 (&3)"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\03 control\command]
@="control.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\04 GodMode]
"Icon"="SHELL32.dll,-025"
"MUIVerb"="上帝模式 (&4)"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\04 GodMode\command]
@="explorer shell:::{ED7BA470-8E54-465E-825C-99712043E01C}"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\05 miguiresource]
"MUIVerb"="任务计划 (&5)"
"Icon"="%windir%\\system32\\miguiresource.dll,1"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\05 miguiresource\command]
@="mmc taskschd.msc /s"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\06 event]
"MUIVerb"="事件查看器 (&6)"
"Icon"="%windir%\\system32\\miguiresource.dll,0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\06 event\command]
@="mmc eventvwr.msc /s"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\07 CompMgmt]
"MUIVerb"="计算机管理 (&G)"
"Icon"="shell32.dll,88"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\07 CompMgmt\command]
@="C:\\Windows\\system32\\CompMgmtLauncher.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\08 ReStartExplorer]
"MUIVerb"="重启Explorer (&R)"
"Icon"="C:\\Windows\\System32\\imageres.dll,229"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\08 ReStartExplorer\command]
@="mshta vbscript:createobject(\"shell.application\").shellexecute(\"tskill.exe\",\"explorer\",\"\",\"open\",0)(close)"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\09 FlushDns]
"MUIVerb"="刷新DNS缓存 (&D)"
"Icon"="shell32.dll,293"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\09 FlushDns\command]
@="ipconfig /flushdns"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\10 ShowHide]
@=""
"Icon"="imageres.dll,193"
"MUIVerb"="隐藏文件+后缀 (&X)"

[HKEY_CLASSES_ROOT\Directory\Background\shell\SetMenu\Shell\10 ShowHide\command]
@="wscript C:\\\\windows\\\\ShowHideFileExt.vbs"

ShowHiDefileExt.vbs代码如下:(放在C:\Windows内,改变路径的话,注册表内路径要同步更改)

Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
if WSHShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden") = 1 then
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden", "0", "REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "2", "REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt", "1", "REG_DWORD"
WSHShell.SendKeys "{F5}"
else
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden", "1", "REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", "1", "REG_DWORD"
WSHShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt", "0", "REG_DWORD"
WSHShell.SendKeys "{F5}"
end if
Set WSHShell = Nothing
WScript.Quit(0)


更多优质资源请微信扫码访问:盘姬资源网小程序


免责声明

本文仅代表作者观点,不代表本站立场,内容的真实性请自行甄别谨防上当受骗。

本站采用 CC BY-NC-SA 4.0 国际许可协议 进行许可,转载或引用本站文章应遵循相同协议。

  1. 本站提供的一切软件、教程和内容信息仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。

  2. 本站信息来自网络收集整理,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑或手机中彻底删除上述内容。如果您喜欢该程序和内容,请支持正版,购买注册,得到更好的正版服务。我们非常重视版权问题,如有侵权请邮件与我们联系处理。敬请谅解!

  3. 本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报。

  4. 如果有侵犯版权的资源请尽快联系站长,我们会在24h内删除有争议的资源。

站长邮箱:xm520vip@gmail.com

本文链接:https://123.775n.com/post-541.html

发表评论

评论列表(0人评论 , 117人围观)
☹还没有评论,来说两句吧...

会员中心

歆梦资源网(775n.com)-探索精品网络资源的宝藏之地

https://123.775n.com/

| 京ICP备100000000

Powered By 某某网络科技有限公司

使用手机软件扫描微信二维码

关注我们可获取更多热点资讯