右键添加显示隐藏文件扩展名
右键添加显示隐藏文件扩展名
右键添加“显示/隐藏文件扩展名”
自己动手添加右键菜单,方法如下:
新建一个TXT文本文档,将以下内容复制进去,保存为SuperHidden.vbs,放入C:\Windows目录下
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell") sTitle1 = "SSH=0"
sTitle2 = "SSH=1"
if
WshSHell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Exp l
orer\Advanced\HideFileExt") = 0 then
WshSHell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hi de
FileExt", "1", "REG_DWORD"
WshSHell.SendKeys "{F5}+{F10}e"
else
WshSHell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hi de
FileExt", "0", "REG_DWORD"
WshSHell.SendKeys "{F5}+{F10}e"
end if
Set WSHShell = Nothing
WScript.Quit(0)
再将以下内容复制到TXT,保存为.reg文件,运行即可
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\DisplayFileExt]
@="显示/隐藏文件扩展名"
[HKEY_CLASSES_ROOT\*\shell\DisplayFileExt\Command]
@=" C:\\Windows\\SuperHidden.vbs"
[HKEY_CLASSES_ROOT\Directory\Background\shell\DisplayFileExt]
@="显示/隐藏文件扩展名"
[HKEY_CLASSES_ROOT\Directory\Background\shell\DisplayFileExt\Comma nd]
@=" C:\\Windows\\SuperHidden.vbs"
[HKEY_CLASSES_ROOT\Folder\shell\DisplayFileExt]
@="显示/隐藏文件扩展名"
[HKEY_CLASSES_ROOT\Folder\shell\DisplayFileExt\Command]
@=" C:\\Windows\\SuperHidden.vbs"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\DisplayFileExt]
@="显示/隐藏文件扩展名"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\DisplayFileExt\Com mand]
@=" C:\\Windows\\SuperHidden.vbs"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\ DisplayFileExt]
@="显示/隐藏文件扩展名"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\ DisplayFileExt\Command]
@=" C:\\Windows\\SuperHidden.vbs"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DisplayFileExt] @="显示/隐藏文件扩展名"
显示隐藏文件[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DisplayFileExt\ Command]
@=" C:\\Windows\\SuperHidden.vbs"

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。