Puoi usare un semplice script vbs che ti permetterà di mostrare e nascondere i tuoi file e cartelle nascosti.
Ho testato questo metodo solo su Windows 7 a 32 bit.
' Script to toggle Windows Explorer display of hidden files,
' super-hidden files, and file name extensions
Option Explicit
Dim dblHiddenData, strHiddenKey, strSuperHiddenKey, strFileExtKey
Dim strKey, WshShell
On Error Resume Next
strKey = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
strHiddenKey = strKey & "\Hidden"
strSuperHiddenKey = strKey & "\ShowSuperHidden"
strFileExtKey = strKey & "\HideFileExt"
Set WshShell = WScript.CreateObject("WScript.Shell")
dblHiddenData = WshShell.RegRead(strHiddenKey)
If dblHiddenData = 2 Then
WshShell.RegWrite strHiddenKey, 1, "REG_DWORD"
WshShell.RegWrite strSuperHiddenKey, 1, "REG_DWORD"
WshShell.RegWrite strFileExtKey, 0, "REG_DWORD"
Else
WshShell.RegWrite strHiddenKey, 2, "REG_DWORD"
WshShell.RegWrite strSuperHiddenKey, 0, "REG_DWORD"
WshShell.RegWrite strFileExtKey, 1, "REG_DWORD"
End If
Modifica: ho convertito lo script sopra in un file batch che commuterà tra mostrare e nascondere i file nascosti e le estensioni dei file nella versione 7. Vedi sotto.
@ECHO OFF
set regpath=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
set regvalue=Hidden
set regdata=2
reg query "%regpath%" /v "%regvalue%" | find /i "%regdata%"
IF errorlevel 1 goto :hide
Reg add "%regpath%" /v Hidden /t REG_DWORD /d 1 /f
Reg add "%regpath%" /v HideFileExt /t REG_DWORD /d 0 /f
Reg add "%regpath%" /v ShowSuperHidden /t REG_DWORD /d 1 /f
goto :end
:hide
Reg add "%regpath%" /v Hidden /t REG_DWORD /d 2 /f
Reg add "%regpath%" /v HideFileExt /t REG_DWORD /d 1 /f
Reg add "%regpath%" /v ShowSuperHidden /t REG_DWORD /d 0 /f
:end