Hi,
This works OK on my 64-bit Home Premium System. It adds the option to your context or "right-click" menu.
It consists of a .vbs file and a .reg file. I can't remember where I found it though
('twas last Chrimble!)
so I'm copying the "codes" here.
Open a New Text Document.txt and copy this code into it.
Code:
Hidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden"
SHidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden"
Set Sh = WScript.CreateObject("WScript.Shell")
St = Sh.RegRead(Hidden)
If St = 2 Then
Sh.RegWrite Hidden, 1, "REG_DWORD"
Sh.RegWrite SHidden, 1, "REG_DWORD"
Else
Sh.RegWrite Hidden, 2, "REG_DWORD"
Sh.RegWrite SHidden, 0, "REG_DWORD"
End If
Sh.SendKeys("{F5}") Save it using "Save As..." as
Show_Hidden_Files_Switch.vbs (or just save the New Text Document.txt, when saved just re-name it, including extension). Place it in your
C:\Windows Folder.
Then make a .reg file using the same method with this code.
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Show / Hide Hidden Files]
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\Show / Hide Hidden Files\command]
@="cmd.exe /c start C:\\Windows\\Show_Hidden_Files_Switch.vbs"
Save it as
Whatever_You_Want.reg. Then just (Run) Merge the .reg file into the registry and you're good to go. It will "instantly" be in your context menu. No re-boot required.
If you later change your mind and want it off your context menu, make a reg file with this code.
Code:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Show / Hide Hidden Files]
Run it and the context menu entry will be gone.
HTH.