右鍵新增顯示隱藏檔案 轉貼

2021-08-26 15:53:56 字數 2628 閱讀 9080

右鍵新增顯示隱藏檔案(轉貼)

2023年01月15日

右鍵新增顯示/隱藏系統檔案和隱藏檔案及顯示/隱藏副檔名的選項

在日常生活中,我們經常會要檢視隱藏檔案,以方便操作,如果選擇傳統的方法,的確是太慢。如果把「[b]顯示隱藏檔案及副檔名[/b]」加在右鍵裡,豈不是很方便?的確,最近我就這麼做,的確方便不少。下面我就教大家如何操作:

regedit4

[hkey_classes_root\directory\background\shellex\contextmenuhandlers\superhidden]

@=""

[hkey_classes_root\clsid\\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\\instance]

"clsid"=""

[hkey_classes_root\clsid\\instance\initpropertybag]

"method"="shellexecute"

"param1"="superhidden.vbs"

"command"="顯示/隱藏系統檔案+副檔名"

"clsid"=""

[hkey_current_user\software\microsoft\windows\currentversion\explorer\advanced]

"showsuperhidden"=dword:00000000

"hidden"=dword:00000002

第二步:另外再新建乙個檔案檔案,把下面的指令碼原文貼進去,並另存為superhidden.vbs

dim wshshell

set wshshell = wscript.createobject("wscript.shell")

stitle1 = "ssh=0"

stitle2 = "ssh=1"

if wshshell.regread("hkcu\software\microsoft\windows\currentversion\explorer\advanced\showsuperhidden") = 1 then

wshshell.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\\instance\initpropertybag\command", "顯示系統檔案+副檔名", "reg_sz"

wshshell.sendkeys "+e"

'wshshell.popup "poof, they're gone!", 1, stitle1, vbinformation

else

wshshell.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\\instance\initpropertybag\command", "隱藏系統檔案+副檔名", "reg_sz"

wshshell.sendkeys "+e"

'如果你用萬能五筆的話(輸入法開啟的時候會在輸入框加打乙個e字,並出來一選單),請用wshshell.sendkeys "",否則用wshshell.sendkeys "+e"疑似完美些。

'wshshell.popup "here they are!", 1, stitle2, vbinformation

end if

set wshshell = nothing

wscript.quit(0)

第三步把它們複製到系統的windows目錄下,雙擊superhidden.reg,搞定,你的右鍵從此就有 [b]顯示/隱藏系統檔案和隱藏檔案[/b],[b]顯示/隱藏副檔名[/b]的功能選項了。

右鍵新增顯示隱藏檔案 轉貼

右鍵新增顯示隱藏檔案 轉貼 2012年01月15日 右鍵新增顯示 隱藏系統檔案和隱藏檔案及顯示 隱藏副檔名的選項 在日常生活中,我們經常會要檢視隱藏檔案,以方便操作,如果選擇傳統的方法,的確是太慢。如果把 b 顯示隱藏檔案及副檔名 b 加在右鍵裡,豈不是很方便?的確,最近我就這麼做,的確方便不少。下...

右鍵新增顯示隱藏資料夾功能

echo off mode con cols 30 lines 4 title 右鍵選單新增成功 color 0a if not exist windir superhidden.vbs goto setup reg delete hkcr clsid f nul 2 nul del f q win...

顯示 隱藏 隱藏檔案

顯示隱藏檔案 開啟終端,輸入命令 該命令將finder的隱藏檔案顯示出來,並重新啟動finder。隱藏隱藏檔案 開啟終端,輸入命令 該命令將finder的隱藏檔案隱藏出來,並重新啟動finder。顯示以.開頭的檔案 在finder中,按快捷鍵command shift 可以顯示隱藏檔案 資料夾,再按...