當(dāng)前位置:愛純凈 > 系統(tǒng)教程 > win7系統(tǒng)右鍵添加顯示隱藏文件夾

win7系統(tǒng)右鍵添加顯示隱藏文件夾

win7系統(tǒng)右鍵添加顯示隱藏文件夾

更新時(shí)間:2018-05-16 文章編輯:ACJ 信息來源:愛純凈 閱讀次數(shù):

  win7系統(tǒng)右鍵添加顯示隱藏文件夾,平時(shí)大家都會(huì)隱藏自己的隱私文件,可是每次想看的時(shí)候都要去打開顯示隱藏文件和文件夾的選項(xiàng),但這樣設(shè)置起來需要點(diǎn)很多次,很是麻煩。下面小編就來很大家分享個(gè)簡(jiǎn)單的方法,只要將這些功能添加到鼠標(biāo)右鍵,這樣就能輕松搞定,免去多次點(diǎn)擊。

win7系統(tǒng)右鍵添加顯示隱藏文件夾

  一、新建一個(gè)文檔,輸入如下代碼,并另存為:SuperHidden.reg

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"="顯示/隱藏系統(tǒng)文件+擴(kuò)展名""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"="顯示/隱藏系統(tǒng)文件+擴(kuò)展名""CLSID"="{13709620-C279-11CE-A49E-444553540000}"[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/Advanced]"ShowSuperHidden"=dword:00000000"Hidden"=dword:00000002[/code]
 

  二、在新建一個(gè)文檔,輸入代碼后,另存為:SuperHidden.vbs

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", "顯示系統(tǒng)文件+擴(kuò)展名", "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", "隱藏系統(tǒng)文件+擴(kuò)展名", "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", "顯示系統(tǒng)文件+擴(kuò)展名", "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", "隱藏系統(tǒng)文件+擴(kuò)展名", "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(放到任意位置即可),修改注冊(cè)表,就可以了(如果安裝的殺毒軟件彈出阻止對(duì)話框時(shí),請(qǐng)勾上總是允許,并將下方的以后總是允許的勾勾上就可以了)。

  四、這里是同時(shí)“顯示系統(tǒng)文件+擴(kuò)展名”,但我們平時(shí)使用最多的應(yīng)該是“顯示/隱藏?cái)U(kuò)展名”,所以,將上面的代碼去掉幾行就可以了。如本人使用的,就只保留了“顯示/隱藏?cái)U(kuò)展名”的功能。

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

 。踓ode]“Hidden”=dword:00000002

  [/code]

  在SuperHidden.reg中去掉:

 。踓ode]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]

 

  上面就是win7系統(tǒng)右鍵添加顯示隱藏文件夾的方法,用戶們也可以把“顯示/隱藏?cái)U(kuò)展名”和“隱藏/顯示系統(tǒng)文件”的功能分成兩個(gè)進(jìn)行設(shè)置方便查閱與修改,或者到網(wǎng)上下載軟件進(jìn)行設(shè)置,這樣就不用手動(dòng)修改注冊(cè)表,以免出現(xiàn)問題。

留言與評(píng)論(共有 條評(píng)論)
驗(yàn)證碼:

本類最新列表

最熱系統(tǒng)下載