当前位置:爱纯净 > 系统教程 > Win764位纯净版右键菜单怎么添加显示/隐藏文件

Win764位纯净版右键菜单怎么添加显示/隐藏文件

Win764位纯净版右键菜单怎么添加显示/隐藏文件

更新时间:2019-04-27 文章编辑:爱纯净 信息来源:网络 阅读次数:

  我们在操作隐藏系统文件夹是都是使用Win764位纯净版系统都是自带“隐藏文件和文件夹”和“隐藏已知文件类型的扩展名”,如果需要经常设置起来需要点很多次,很是麻烦。今天小编就来很大家分享个简单的方法,只要将这些功能添加到鼠标右键,这样就能轻松搞定,免去多次点击。

Win764位纯净版右键菜单怎么添加显示隐藏文件

  一、新建一个文档,输入如下代码,并另存为:SuperHidden.reg

  1. 01[code]REGEDIT4[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\SuperHidden]@="{00000000-0000-0000-0000-000000000012}"</p>[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[/code]
复制代码
[code]REGEDIT4[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\SuperHidden]@="{00000000-0000-0000-0000-000000000012}"</p>[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[/code]

  二、在新建一个文档,输入代码后,另存为:SuperHidden.vbs

  1. 01[code]'Show/Hide System FilesDim WSHShellSet WSHShell = WScript.CreateObject("WScript.Shell")sTitle1 = "SSH=0"sTitle2 = "SSH=1"if WSHShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden") = 1 thenWSHShell.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, vbInformationelseWSHShell.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, vbInformationend ifSet WSHShell = NothingWScript.Quit(0)[/code]
复制代码
[code]'Show/Hide System FilesDim WSHShellSet WSHShell = WScript.CreateObject("WScript.Shell")sTitle1 = "SSH=0"sTitle2 = "SSH=1"if WSHShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden") = 1 thenWSHShell.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, vbInformationelseWSHShell.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, vbInformationend ifSet WSHShell = NothingWScript.Quit(0)[/code]

  三、将SuperHidden.vbs拷贝到C盘windows目录下即可,然后双击SuperHidden.reg(放到任意位置即可),修改注册表,就可以了(如果安装的杀毒软件弹出阻止对话框时,请勾上总是允许,并将下方的以后总是允许的勾勾上就可以了)。

  四、这里是同时“显示系统文件+扩展名”,但我们平时使用最多的应该是“显示/隐藏扩展名”,所以,将上面的代码去掉几行就可以了。如本人使用的,就只保留了“显示/隐藏扩展名”的功能。

  使用的方法。在SuperHidden.reg中去掉:

  [code]“Hidden”=dword:00000002

  [/code]

  在SuperHidden.reg中去掉:

  [code]WSHShell.RegWrite《/code》《code》“HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden”,《/code》《code》“2”,《/code》《code》“REG_DWORD” [/code]

  和

  [code]《code》WSHShell.RegWrite《/code》《code》“HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden”,《/code》《code》“1”,《/code》《code》“REG_DWORD” [/code]

  以上就是Win764位纯净版右键菜单怎么添加显示/隐藏文件扩展的操作方法,用户们也可以把“显示/隐藏扩展名”和“隐藏/显示系统文件”的功能分成两个进行设置方便查阅与修改,或者到网上下载软件进行设置,这样就不用手动修改注册表,以免出现问题。

留言与评论(共有 条评论)
验证码:

本类最新列表

最热系统下载