显示隐藏文件.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced]
"ShowSuperHidden"=dword:00000001
"Hidden"=dword:00000001
"HideFileExt"=dword:00000000
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL]
"CheckedValue"=dword:00000001
显示隐藏文件.bat
@echo off
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "Hidden" /t REG_DWORD /d 1 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /v "HideFileExt" /t REG_DWORD /d 0 /f
reg add "HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL" /v "CheckedValue" /t REG_DWORD /d 1 /f
注意运行之后,在资源管理器里面必须按F5或者右击刷新下才能生效。