为win7右键菜单添加显示隐藏系统文件和扩展名的方法
最近一些用户反映,win7系统中要是能够在右键菜单中显示隐藏系统文件和文件扩展名就好了,其实方法是有的,小编这里就为大家找到一种实用的,windows7(64位)系统中为右键添加显示隐藏系统文件和文件扩展名的方法,大家可以尝试一下哦,具体步骤如下:
步骤一:首先新建一个文档,然后输入如下代码,并另存为:SuperHidden.reg
01REGEDIT402[HKEY_CLASSES_ROOTDirectoryBackgroundshellexContextMenuHandlersSuperHidden]03@='{00000000-0000-0000-0000-000000000012}'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,0668,64,6f,63,76,77,2e,64,6c,6c,0007'ThreadingModel'='Apartment'08 [HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}Instance]09'CLSID'='{3f454f0e-42ae-4d7c-8ea3-328250d6e272}'10[HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBag]11'method'='ShellExecute'12'Param1'='SuperHidden.vbs'13'mand'='显示/隐藏系统文件+扩展名'14'CLSID'='{13709620-C279-11CE-A49E-444553540000}'15[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced]16'ShowSuperHidden'=dword:0000000017'Hidden'=dword:00000002
步骤二:然后再新建一个文档,输入代码后另存为:SuperHidden.vbs
01'Show/Hide System Files02 Dim WSHShell03Set WSHShell = WScript.CreateObject('WScript.Shell')04sTitle1 = 'SSH=0'05sTitle2 = 'SSH=1'06if WSHShell.RegRead('HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden') = 1 then07WSHShell.RegWrite 'HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden', '0', 'REG_DWORD'08WSHShell.RegWrite 'HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden', '2', 'REG_DWORD'09WSHShell.RegWrite 'HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt', '1', 'REG_DWORD'10 WSHShell.RegWrite 'HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagmand', '显示系统文件+扩展名', 'REG_SZ'11WSHShell.SendKeys '{F5}+{F10}e'12'WSHShell.Popup 'Poof, they're gone!', 1, sTitle1, vbInformation13else14WSHShell.RegWrite 'HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden', '1', 'REG_DWORD'15WSHShell.RegWrite 'HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden', '1', 'REG_DWORD'16WSHShell.RegWrite 'HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt', '0', 'REG_DWORD'17WSHShell.RegWrite 'HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagmand', '隐藏系统文件+扩展名', 'REG_SZ'18WSHShell.SendKeys '{F5}+{F10}e'19'WSHShell.Popup 'Here they are!', 1, sTitle2, vbInformation20 end if21Set WSHShell = Nothing22WScript.Quit(0)
步骤三:最后将SuperHidden.vbs拷贝到C盘windows目录下即可,然后双击SuperHidden.reg修改注册表,最后重启一下电脑就可以了!
以上三个步骤看起来很多,其实非常快速简单,大家不要被那一大串代码吓到,复制一下很快就能解决,有需要的朋友就试一下吧,小编还将继续为大家带来更多精彩内容和教程,欢迎继续关注系统城下载站哦!