adding "toggle hidden files" to context menu in 64-bit

nogills

New member
Local time
10:11 AM
Messages
14
Location
Atlanta, GA
hey guys, i have a laptop with windows 7 32-bit system and got the "toggle hidden files" on my context menu by a simple process and love it, so I wanted to have the same thing on my desktop, which is also windows 7, but it is 64-bit. I have tried a few different methods, including putting the hidden.dll (or whatever its called) in the system32 folder and using the regsvr32 command to "install" it, and nothing. I saw on another forum that that file doesn''t work for 64-bit so I was wondering if anyone here knew how to get this on a 64-bit system. I use hidden files a lot so it would be really awesome if someone could help out. Thanks a bunch.

-Taylor
 

My Computer

Computer Manufacturer/Model Number
Alienware m15x (laptop)
OS
Windows 7 Home Premium 32-bit
CPU
Intel Core 2 Duo Extreme 2.8 gHz
Memory
4 gigs (3gigs usable)
Graphics Card(s)
Nvidia 8800M GTX 512
Sound Card
onboard Realtek
Monitor(s) Displays
laptop display
Screen Resolution
1920x1200
Internet Speed
cable
I also use hidden files a lot and would love to know how to enable this option under Win7 x64 Right-Click Context Menu...
 

My Computer

OS
Windows 7 Professional 64Bit
CPU
Intel® Core i7-930 - 8M Cache, 2.80 GHz, 4.80 GT/s
Motherboard
ASROCK X58 Extreme 3
Memory
6Gb DDR3 1600MHz
Graphics Card(s)
Gigabyte GeForce GTX 470 1280MB - NVIDIA
Sound Card
On Board Realtek HD Audio
Monitor(s) Displays
HP L1950g LCD
Screen Resolution
1280x1024
Hard Drives
2 x SATAII C:500Gb D:1Tb
PSU
750W Antec TruePower
Case
ZALMAN
Cooling
air
Internet Speed
6 Mb/s
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.
 
Last edited:

My Computer

OS
Win7 HP 64bit
Back
Top