Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Show - Hide Hidden Files - Add to Context Menu

25 Nov 2011   #40

64-bit Windows 10 Pro

You're most welcome Woki, and welcome to Seven Forums. :)

My System SpecsSystem Spec
26 Dec 2011   #41

Windows 7 Ultimate SP1 - 64 Bit

Brink, I was wondering if there was a Context Menu tweak so when you Right click on something it shows Hide File if showing and Show File if Hidden and Show Hidden Files is on at AppData, it makes it a lot easier than going into the File Properties.
My System SpecsSystem Spec
26 Dec 2011   #42

64-bit Windows 10 Pro

Hello Infinite,

I'll look into it, but it may be a wee bit hard to unhide a file/folder like that if it's already hidden though. :)
My System SpecsSystem Spec
27 Dec 2011   #43

64-bit Windows 10 Pro

Ok Infinite,

New tutorial completed for this. :)

File and Folder - Add "Hide" and "Unhide" to Context Menu
My System SpecsSystem Spec

29 Dec 2011   #44

Windows 7 Pro x64 SP1

Cool! Nice one, thanks again Brink!
My System SpecsSystem Spec
29 Dec 2011   #45

64-bit Windows 10 Pro

You're most welcome Denise. Thank you. :)
My System SpecsSystem Spec
04 Oct 2012   #46

win7 x64

Another cool tutorial plus support files ! thank you Mr. Brink .
works like a charm (7 Ultimate x64)
My System SpecsSystem Spec
04 Oct 2012   #47

64-bit Windows 10 Pro

You're most welcome. I'm glad you like it. :)
My System SpecsSystem Spec
20 Jan 2013   #48

Windows 7 Ultimate x64

Thanks for the script! The only problem is that if you want to assign the .vbs to a keyboard shortcut, via a shortcut placed in the desktop/start menu, the explorer window becomes inactive when you press the keyboard shortcut. As a result, the "F5" refresh no longer works. I was able to solve the problem with this AutoIt script:

$Key = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
$SHid = "ShowSuperHidden"
$Hid = "Hidden"

If RegRead($Key, $Hid) = 2 Then
RegWrite($Key, $Hid, "REG_DWORD", 1)
RegWrite($Key, $SHid, "REG_DWORD", 0)

ElseIf RegRead($Key, $SHid) = 0 Then
RegWrite($Key, $SHid, "REG_DWORD", 1)

RegWrite($Key, $Hid, "REG_DWORD", 2)
RegWrite($Key, $SHid, "REG_DWORD", 0)

ControlFocus("[CLASS:CabinetWClass]", "", "[CLASS:DirectUIHWND]")
As you can see, I've also edited the toggle somewhat to allow for all 3 possible combinations of hidden files with one keyboard shortcut. I found this a bit more intuitive. If you have AutoIt installed: please compile it and try it out :)

If anyone is able to get the same result in a .vbs script, please let me know!
My System SpecsSystem Spec
03 Jul 2013   #49

Windows 7 Ultimate 6.1 x84

Quote   Quote: Originally Posted by Brink View Post
You're most welcome. I'm glad you like it. :)
I like this but is it possible to exclude certain files from showing up such as Thumbs.db and Desktop.ini ? I added.ico extensions to My Music folder in order to display them as full flat thumbnail view similar to XP and prefer this explorer context menu then 'ToggleHiddenFiles' as it runs as a constant process but would prefer if it didn't show Thumbs.db & Desktop.ini.

I guess I want 'Show hidden files, folders and drives' and not Show protected operating system files (Recommended) ? I'm also curious why does it display little icon shield in the context menu

My System SpecsSystem Spec

 Show - Hide Hidden Files - Add to Context Menu

Thread Tools

Similar help and support threads
Thread Forum
Need a Little App or Registry Entry file to show or hide Hidden files
hello, sir i need a little help from you. i want to using registry entry who can show or hide Hidden files, folder, or drives with "Hide Protected operating system files (Recommended) thanx
General Discussion
Show - Hide Known File Extensions - Add to Context Menu
Add "Show/Hide Known File Extensions" to Context Menu in Vista, Windows 7, and Windows 8 A file name extension is a set of characters added to the end of a file name that identifies the file type or format that determines what default program should open it. This will show you how to add or...
Hidden Files and Folders - Show or Hide
How to Show or Hide All Hidden Files, Folders, and Drives in Vista, Windows 7, and Windows 8 This tutorial will show you how to have all hidden files, folders, and drives to show or don't show in Windows 7. These are set to be hidden by default in Vista, Windows 7, and Windows 8. When you have...
Add Show-Hide Hidden Files in context menu?
In the x86 of Windows 7, I could add Show-Hide Hidden Files in the right click menu with few registry entries. And I could show and hide with just one click. It was very simple. But it didnt work on x64. Where and what should I add to registy to make the same?
show/hide hidden files from menu or icon?
I made the jump to Win 7 and finally I am leaving Vista behind (so to speak, since it is still vista). I like the new OS much better and my old vista got very clunky with age. I am a web developer and I run multiple power applications so I have several rigs, all of them maxed out on RAM and...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 08:46.
Twitter Facebook Google+