win7怎么显示隐藏文件?win7右键显示隐藏文件的方法
右键菜单是我们在日常使用电脑时经常会遇到的操作。我们可以根据个人需求向右键菜单中添加所需选项。下面我将向大家介绍如何将显示隐藏文件添加到右键菜单中。
首先,我们需要新建一个文档,并输入以下代码,然后另存为:SuperHidden.reg
```markdown
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\SuperHidden]
@="{00000000-0000-0000-0000-000000000012}"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\InProcServer32]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,73,\
68,64,6f,63,76,77,2e,64,6c,6c,00
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\Instance]
"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"
[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000012}\Instance\InitPropertyBag]
"method"="ShellExecute"
"Param1"="SuperHidden.vbs"
"command"="显示/隐藏系统文件+扩展名"
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSuperHidden"=dword:00000000
"Hidden"=dword:00000002
```
接下来,新建另一个文档,输入代码后,另存为:SuperHidden.vbs
```markdown
‘Show/HideSystemFiles
Dim WSHShell
Set WSHShell = WScript.CreateObject(“WScript.Shell”)
sTitle1 = “SSH=0”
sTitle2 = “SSH=1”
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.RegWrite “HKCR\CLSID\{00000000-0000-0000-0000-000000000012}\Instance\InitPropertyBag\command”, “显示系统文件+扩展名”, “REG_SZ”
WSHShell.SendKeys “{F5}+{F10}e”
WSHShell.Popup “Poof, they’re gone!”, 1, sTitle1, vbInformation
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.RegWrite “HKCR\CLSID\{00000000-0000-0000-0000-000000000012}\Instance\InitPropertyBag\command”, “隐藏系统文件+扩展名”, “REG_SZ”
WSHShell.SendKeys “{F5}+{F10}e”
WSHShell.Popup “Here they are!”, 1, sTitle2, vbInformation
end if
Set WSHShell = Nothing
WScript.Quit(0)
```
将SuperHidden.vbs拷贝到C盘windows目录下,然后双击SuperHidden.reg进行注册表修改即可。如果杀毒软件弹出阻止对话框,请勾选总是允许并勾选以后总是允许。通过以上步骤,你就可以将显示隐藏文件添加到右键菜单中。希望这对你有所帮助。
常见问题
- 10bit显示器,Win10只显示8bit(位深度)要怎么设置?
- Windows Server 2008 R2密钥/最新序列号/永久激活码
- yundetectservice是什么?yundetectservice.exe进程如何禁止?
- Win10专业工作站版激活密钥(数字永久激活码)
- 无限弹窗代码来了!制作成bat运行,不死机不停止!
- Msg3.0.db是什么?Msg3.0.db可以删除吗?如何瘦身?
- 怎么修改软件安装日期?(修改卸载程序里显示的日期)
- win10系统驱动精灵提示系统自带驱动缺失|local print queue缺失怎么办?
- kingsoft是什么文件夹?教你kingsoft如何删除
- Win10笔记本睡眠状态下计算机自动唤醒,异常耗电的终极解决方法