资源描述:
《win7右键添加显示隐藏系统文件和文件扩展名》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、直接复制过去,会有很严重的格式问题,导致vbs编译不成功,还不如异次元下个软件解决了一、新建一个文档,输入如下代码并另存为:SuperHidden.regREGEDIT4[HKEY_CLASSES_ROOTDirectoryBackgroundshellexContextMenuHandlersSuperHidden]@="{00000000-0000-0000-0000-000000000012}"[HKEY_CLASSES_ROOTCLSID{00000000-0000-0000-0000-000000000012}InProcS
2、erver32]@=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_ROOTCLSID{00000000-0000-0000-0000-000000000012}Instance]"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"[HKEY_CLAS
3、SES_ROOTCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBag]"method"="ShellExecute""Param1"="SuperHidden.vbs""command"="显示/隐藏系统文件+扩展名""CLSID"="{13709620-C279-11CE-A49E-444553540000}"[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvance
4、d]"ShowSuperHidden"=dword:00000000"Hidden"=dword:00000002二、在新建一个文档,输入代码后另存为:SuperHidden.vbs'Show/HideSystemFilesDimWSHShellSetWSHShell=WScript.CreateObject("WScript.Shell")sTitle1="SSH=0"sTitle2="SSH=1"ifWSHShell.RegRead("HKCUSoftwareMicrosoftWindowsCurrentVersionExplorer
5、AdvancedShowSuperHidden")=1thenWSHShell.RegWrite"HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden","0","REG_DWORD"WSHShell.RegWrite"HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden","2","REG_DWORD"WSHShell.RegWrite"HKCUSo
6、ftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt","1","REG_DWORD"WSHShell.RegWrite"HKCRCLSID{00000000-0000-0000-0000-000000000012}InstanceInitPropertyBagcommand","显示系统文件+扩展名","REG_SZ"WSHShell.SendKeys"{F5}+{F10}e"'WSHShell.Popup"Poof,they'regone!",1,sT
7、itle1,vbInformationelseWSHShell.RegWrite"HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden","1","REG_DWORD"WSHShell.RegWrite"HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden","1","REG_DWORD"WSHShell.RegWrite"HKCUSoftwareMi
8、crosoftWindowsCurrentVersionExplorerAdvancedHideF