2024年1月10日发(作者:)
右键添加显示隐藏文件扩展名右键添加“显示/隐藏文件扩展名”
自己动手添加右键菜单,方法如下:
新建一个TXT文本文档,将以下内容复制进去,保存为,放入C:Windows目录下
Dim WSHShell
Set WSHShell = Object("") sTitle1 =
"SSH=0"
sTitle2 = "SSH=1"
if
d("HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt") = 0 then
te
"HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt", "1", "REG_DWORD"
ys "{F5}+{F10}e"
else
te
"HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt", "0", "REG_DWORD"
ys "{F5}+{F10}e"
end if
Set WSHShell = Nothing
(0)
再将以下内容复制到TXT,保存为.reg文件,运行即可
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellDisplayFileExt]
@="显示/隐藏 文件扩展名"
[HKEY_CLASSES_ROOT*shellDisplayFileExtCommand]
@=" C:"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellDisplayFileExt]
@="显示/隐藏 文件扩展名"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellDisplayFileExtCommand]
@=" C:"
[HKEY_CLASSES_ROOTFoldershellDisplayFileExt]
@="显示/隐藏 文件扩展名"
[HKEY_CLASSES_ROOTFoldershellDisplayFileExtCommand]
@=" C:"
[HKEY_LOCAL_MACHINESOFTWAREClasses*shellDisplayFileExt]
@="显示/隐藏 文件扩展名"
[HKEY_LOCAL_MACHINESOFTWAREClasses*shellDisplayFileExtCommand]
@=" C:"
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryBackgroundshellDisplayFileExt]
@="显示/隐藏 文件扩展名"
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryBackgroundshellDisplayFileExtCommand]
@=" C:"
[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellDisplayFileExt]
@="显示/隐藏 文件扩展名"
[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellDisplayFileExtCommand]
@=" C:"


发布评论