当前位置: 首页 > 图文教程 > 操作系统 > Windows > 右键菜单显示/隐藏系统文件,扩展名

Windows
Win7 拒绝无线路由器故障解决实例
放弃Win7系统换回winXP系统的7个理由
使用电话具体激活win7操作系统的步骤
Win7系统权限控制USB设备的自动运行
Win7 操作系统的电源设置功能
Windows7 64位系统网卡驱动安装问题解决办法
Win7 快捷键大全 熟练应用Windows7操作系统
Win7解决播放影音文件双语并行问题
三个好用的Win7快捷键
Win7虚拟内存设置技巧 快速提升其读写速度
提升Win7操作速度的设置技巧
Win7系统用户在局域网中共享设置方法
Vista 删除隐藏文件的方法
玩2TB以上硬盘?告别XP转向Vista或者Win7吧!
从根上保证电脑安全、不中毒的方法
破解浏览器内网页禁用鼠标右键的N个绝招
Vista、Win7桌面删除不掉的广告图标的解决办法
关于要不要关闭Vista中的IPv6功能的问题
Vista系统下修改hosts文件无效的解决办法
XP/Vista/Win7下虚拟内存的常识和几个误区

Windows 中的 右键菜单显示/隐藏系统文件,扩展名


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 49 ::
收藏到网摘: n/a

1,新建一个文本文件,把下面文字原文贴进去,另存为SuperHidden.reg
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

2,再新建一个文件文件,把下面的脚本原文贴进去,并另存为SuperHidden.vbs
'Show/Hide System Files

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)

3,把 SuperHidden.vbs 文件复制到系统的 X:/windows/system 目录下(X 为你的系统盘符),双击superhidden.reg 将信息导入注册表文件。这样在桌面或文件夹的空白位置单出右键,就会在菜单中看到 [显示/隐藏系统文件,扩展名] 的选项了,点选后自动刷新文件夹,无需手动刷新。