win7 64位系统中为右键菜单添加显示隐藏系统文件和文件扩展名的
发布时间:2016-11-28 21:52:11 所属栏目:政策 来源:站长网
导读:win7 64位右键添加显示隐藏系统文件和文件扩展名 一、新建一个文档,输入如下代码并另存为:SuperHidden.reg 01 REGEDIT4 02 [HKEY_CLASSES_ROOTDirectoryBackgroundshellexContextMenuHandlersSuperHidden] 03 @=quot;{00000000-0000-0000-0000-00000
win7 64位右键添加显示隐藏系统文件和文件扩展名 一、新建一个文档,输入如下代码并另存为:SuperHidden.reg 01 REGEDIT4 02 [HKEY_CLASSES_ROOTDirectoryBackgroundshellexContextMenuHandlersSuperHidden] 03 @=quot;{00000000-0000-0000-0000-000000000012}quot; 04 [HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}InProcServer32] 05 @=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, 06 68,64,6f,63,76,77,2e,64,6c,6c,00 07 quot;ThreadingModelquot;=quot;Apartmentquot; 08nbsp;nbsp;nbsp; [HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}Instance] 09 quot;CLSIDquot;=quot;{3f454f0e-42ae-4d7c-8ea3-328250d6e272}quot; 10 [HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBag] 11 quot;methodquot;=quot;ShellExecutequot; 12 quot;Param1quot;=quot;SuperHidden.vbsquot; 13 quot;commandquot;=quot;显示/隐藏系统文件+扩展名quot; 14 quot;CLSIDquot;=quot;{13709620-C279-11CE-A49E-444553540000}quot; 15 [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced] 16 quot;ShowSuperHiddenquot;=dword:00000000 17 quot;Hiddenquot;=dword:00000002 二、在新建一个文档,输入代码后另存为:SuperHidden.vbs 01 'Show/Hide System Files 02nbsp;nbsp;nbsp; Dim WSHShell 03 Set WSHShell = WScript.CreateObject(quot;WScript.Shellquot;) 04 sTitle1 = quot;SSH=0quot; 05 sTitle2 = quot;SSH=1quot; 06 if WSHShell.RegRead(quot;HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHiddenquot;) = 1 then 07 WSHShell.RegWrite quot;HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHiddenquot;, quot;0quot;, quot;REG_DWORDquot; 08 WSHShell.RegWrite quot;HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHiddenquot;, quot;2quot;, quot;REG_DWORDquot; 09 WSHShell.RegWrite quot;HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExtquot;, quot;1quot;, quot;REG_DWORDquot; 10nbsp;nbsp;nbsp; WSHShell.RegWrite quot;HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagcommandquot;, quot;显示系统文件+扩展名quot;, quot;REG_SZquot; 11 WSHShell.SendKeys quot;{F5}+{F10}equot; 12 'WSHShell.Popup quot;Poof, they're gone!quot;, 1, sTitle1, vbInformation 13 else 14 WSHShell.RegWrite quot;HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHiddenquot;, quot;1quot;, quot;REG_DWORDquot; 15 WSHShell.RegWrite quot;HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHiddenquot;, quot;1quot;, quot;REG_DWORDquot; 16 WSHShell.RegWrite quot;HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExtquot;, quot;0quot;, quot;REG_DWORDquot; 17 WSHShell.RegWrite quot;HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagcommandquot;, quot;隐藏系统文件+扩展名quot;, quot;REG_SZquot; 18 WSHShell.SendKeys quot;{F5}+{F10}equot; 19 'WSHShell.Popup quot;Here they are!quot;, 1, sTitle2, vbInformation 20nbsp;nbsp;nbsp; end if 21 Set WSHShell = Nothing 22 WScript.Quit(0) 三、将SuperHidden.vbs拷贝到C盘windows目录下即可,然后双击SuperHidden.reg修改注册表,最后重启一下电脑就可以了(如果安装的杀毒软件弹出阻止对话框时,请勾上总是允许,并将下方的以后总是允许的勾勾上就可以了)。 (编辑:PHP编程网 - 黄冈站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |