當前位置:主頁 > 系統(tǒng)教程 > 將“顯示隱藏文件”添加到電腦公司W(wǎng)in10專業(yè)牌右鍵菜單中
將“顯示隱藏文件”添加到電腦公司W(wǎng)in10專業(yè)牌右鍵菜單中
發(fā)布日期:2016-05-02 08:37 作者:深度技術(shù) 來源:www.hunye.com.cn
將常用到的選項添加到右鍵菜單中,給用戶操作效率有很大的提升,最近有用戶想將“顯示隱藏文件和系統(tǒng)文件”的選項添加到右鍵菜單中,怎樣添加呢?下面小編給大家分享將“顯示隱藏文件”添加到電腦公司Win10專業(yè)牌右鍵菜單中。
1、在桌面空白處右鍵新建一個記事本,將下面的代碼拷貝進去: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.SendKeys "{F5}+{F10}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.SendKeys "{F5}+{F10}e"
'WSHShell.Popup "Here they are!", 1, sTitle2, vbInformation
end if
Set WSHShell = Nothing
WScript.Quit(0)
2、另存為SuperHidden.vbs文件(選擇保存——格式選擇所有文件,文件名輸入SuperHidden.vbs),并拷貝到Windows目錄下(也可以是任意目錄)
3、另外新建一個文檔文件,輸入以下代碼:REGEDIT4
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\SuperHidden]
@="{00000000-0000-0000-0000-000000000012}"
[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"="C:\\WINDOWS\\SuperHidden.vbs"
"command"="Show/Hide Hidden Files"
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
1、在桌面空白處右鍵新建一個記事本,將下面的代碼拷貝進去: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.SendKeys "{F5}+{F10}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.SendKeys "{F5}+{F10}e"
'WSHShell.Popup "Here they are!", 1, sTitle2, vbInformation
end if
Set WSHShell = Nothing
WScript.Quit(0)
2、另存為SuperHidden.vbs文件(選擇保存——格式選擇所有文件,文件名輸入SuperHidden.vbs),并拷貝到Windows目錄下(也可以是任意目錄)
3、另外新建一個文檔文件,輸入以下代碼:REGEDIT4
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\SuperHidden]
@="{00000000-0000-0000-0000-000000000012}"
[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"="C:\\WINDOWS\\SuperHidden.vbs"
"command"="Show/Hide Hidden Files"
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
精品APP推薦
EX安全衛(wèi)士 V6.0.3
u老九u盤啟動盤制作工具 v7.0 UEFI版
Doxillion V2.22
思維快車 V2.7 綠色版
地板換色系統(tǒng) V1.0 綠色版
清新綠色四月日歷Win8主題
翼年代win8動漫主題
點聚電子印章制章軟件 V6.0 綠色版
淘寶買家賣家?guī)ぬ柌杉?V1.5.6.0
優(yōu)碼計件工資軟件 V9.3.8
Process Hacker(查看進程軟件) V2.39.124 漢化綠色版
風一樣的女子田雨橙W8桌面
海藍天空清爽Win8主題
Ghost小助手
游行變速器 V6.9 綠色版
IE卸載工具 V2.10 綠色版
PC Lighthouse v2.0 綠色特別版
foxy 2013 v2.0.14 中文綠色版
彩影ARP防火墻 V6.0.2 破解版
慵懶狗狗趴地板Win8主題
- 專題推薦
- 深度技術(shù)系統(tǒng)推薦
- 1深度技術(shù)Ghost Win10 x64位 多驅(qū)動純凈版2019V08(絕對激活)
- 2深度技術(shù)Ghost Win10 X32位 完美裝機版2017.09月(免激活)
- 3深度技術(shù)Ghost Win10 X64 精選純凈版2021v03(激活版)
- 4深度技術(shù)Ghost Win10 (64位) 經(jīng)典裝機版V2017.07月(免激活)
- 5深度技術(shù)Ghost Win10 x64位 完美純凈版2019年05月(無需激活)
- 6深度技術(shù) Ghost Win10 32位 裝機版 V2016.09(免激活)
- 7深度技術(shù)Ghost Win10 x64位 特別純凈版v2018.01(絕對激活)
- 8深度技術(shù)Ghost Win10 X32增強修正版2017V01(絕對激活)
- 9深度技術(shù) Ghost Win10 x86 裝機版 2016年05月
- 10蘿卜家園Windows11 體驗裝機版64位 2021.09
- 深度技術(shù)系統(tǒng)教程推薦
- 1設(shè)置win10系統(tǒng)qq截圖快捷鍵的方法
- 2win10 20H1 Build 18970和19H2 Build 18363.327 ISO鏡像發(fā)布
- 3WIN10系統(tǒng)電腦ie安全設(shè)置怎么如何更改?
- 4曝微軟OneDrive windows 10版大改:UwP變成PwA
- 5win8系統(tǒng)卸載輸入法的處理方法
- 6怎么使用聚生網(wǎng)管對局域網(wǎng)進行限速?
- 7Win8.1系統(tǒng)卸載微軟拼音輸入法的技巧【圖文】
- 8Win10系統(tǒng)配置Tomcat服務(wù)器環(huán)境需要怎么操作
- 9老毛桃W10每次開機都彈出證書導入向?qū)г趺崔k?
- 10電腦elnet服務(wù)客戶端的怎么開啟?如何開啟elnet服務(wù)客戶端的步驟