复制以下内容到记事本,另存为"任意名称.reg",然后双击导入该文件.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AllFilesystemObjects]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\nohidden]
@="显示隐藏文件"
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\nohidden\command]
@="C:\\windows\\system32\\reg.exe add HKCU\\Software\\Microsoft\\Windows\\Currentversion\\Explorer\\Advanced /v Hidden /t REG_DWORD /d 1 /f"
-------------------------------------------------------------------
如果右键显示然后刷新仍不显示隐藏文件的话用这个.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AllFilesystemObjects]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\nohidden]
@="显示隐藏文件"
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\nohidden\command]
@="C:\\windows\\system32\\cmd.exe /c C:\\windows\\system32\\reg.exe add HKCU\\Software\\Microsoft\\Windows\\Currentversion\\Explorer\\Advanced /v Hidden /t REG_DWORD /d 1 /f & C:\\windows\\system32\\taskkill.exe /im explorer.exe /f & start C:\\windows\\explorer.exe"