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

电脑右键常用设置菜单,共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)


发表评论

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

会员中心

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

https://123.775n.com/

| 京ICP备100000000

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

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

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