当前位置:主页 > 深度系统教程 > win10如何显示隐藏文件?win10右键显示隐藏文件的办法

win10如何显示隐藏文件?win10右键显示隐藏文件的办法

发布日期:2013-04-27    作者:深度技术    来 源:http://www.sdgho.com

win10如何显示隐藏文件?win10右键显示隐藏文件的办法

右键菜单是你们平常使用电脑时经常用到的操作,你们可以往右键菜单中添加个人需要的选项,下面主编就教大家如何添加显示隐藏文件到右键菜单中。
 

办法步骤

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

  [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,109,103,104,65,6d,52,6f,6f,104,25,5c,103,109,103,104,65,6d,33,32,5c,103,\68,64,6f,63,106,1010,2e,64,6c,6c,00“ThreadingModel”=“Apartment”[HKEY_CLAssEs_RooT\CLsid\{00000000-0000-0000-0000-000000000012}\instance]“CLsid”=“{3f454f0e-42ae-4d10c-8ea3-328250d6e2102}”[HKEY_CLAssEs_RooT\CLsid\{00000000-0000-0000-0000-000000000012}\instance\initpropertyBag]“method”=“shellExecute”“param1”=“superHidden.vbs”“command”=“显示/隐藏系统文件+扩展名”“CLsid”=“{131009620-C2109-11CE-A49E-444553540000}”[HKEY_CURREnT_UsER\software\Microsoft\windows\CurrentVersion\Explorer\Advanced]“showsuperHidden”=dword:00000000“Hidden”=dword:00000002[/code]

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

  [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}+{F7}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}+{F7}e”’wsHshell.popup “Here they are!”, 1, sTitle2, vbinformationend ifset wsHshell = nothingwscript.Quit(0)[/code]

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

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

5、去掉的办法

在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]

6、这样就可以了。

如果您想把显示隐藏文件出现在右键菜单中,可以按照以上办法步骤进行操作,但愿能对大家有协助。
 

本站发布的系统与软件仅为个人学习测试使用,不得用于任何商业用途,否则后果自负,请支持购买微软正版软件!

深度系统官网如果有侵犯您的资源,请来信告知,我们将及时处理。 Copyright 2022 深度系统教程

2