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: File and Folder - Add "Hide" and "Unhide" to Context Menu


File and Folder - Add "Hide" and "Unhide" to Context Menu

How to Add "Hide" and "Unhide" to File and Folder Context Menu in Vista, Windows 7, and Windows 8
Published by Brink
27 Dec 2011
Published by

How to Add "Hide" and "Unhide" to File and Folder Context Menu in Vista, Windows 7, and Windows 8

information   Information
This will add Hidden File Attributes and Hidden Folder Attributes to the context menu of files and folders for all users to be able to hide or unhide one or more selected file(s), folder(s), and/or folder(s) contents in Vista, Windows 7, and Windows 8.

You must be logged in as an administrator to be able to add or remove this from the context menu. All users will be able to use the context menu though.

Note   Note
This context menu will only set the attribute of only the selected file(s) and/or folder(s) to either be hidden or unhidden, or only the "subfolders and files" of the selected folder(s) to be hidden or unhidden.

It will not change a system attribute of a file or folder that may have it set to them. For example, hidden protected operating system files.

OPTIONS:
Hide/unhide Only Selected Folder(s) and/or File(s) without including the subfolders and files in any selected folder(s).

AND

Hide/unhide Only Subfolder(s) and File(s) in the Selected Folder(s) without hiding/unhiding the selected folder(s).


EXAMPLE: What is Added to Context Menu of Files and Folders
Name:  Files.jpg
Views: 3699
Size:  47.6 KB -folders.jpg
Here's How:
1. To Add "Hide or Unhide a File or Folder" to Context Menu
A) Click on the Download button below to download the file below.
Add_Hide-Unhide_File-and-Folder.reg
download
B) Go to step 3.
2. To Remove "Hide or Unhide a File or Folder" from Context Menu
NOTE: This is the default setting.
A) Click on the Download button below to download the file below.
Remove_Hide-Unhide_File-and-Folder.reg
download
3. Click on Save, and save the .reg file to the desktop.

4. Right click on the downloaded .reg file and click on Merge.

5. If prompted, click on Run, Yes, Yes, and OK.

6. When done, you can delete the downloaded .reg file if you like.
That's it,
Shawn



27 Dec 2011   #1
Infinite

Windows 7 Ultimate SP1 - 64 Bit
 
 

Wow, your an extremely clever computer user

Thank you.

It seems a bit confusing, will have to get used to it.

Please can you tell me the difference between:

Only Select Folder(s) and/or File(s) + Only Subfolder(s) and File(s) in Select Folder(s)


My System SpecsSystem Spec
27 Dec 2011   #2
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

You're welcome Infinite.

Hide/unhide Only Selected Folder(s) and/or File(s) without including the subfolders and files in a folder.

OR

Hide/unhide Only Subfolder(s) and File(s) in Selected Folder(s) without hiding/unhiding the selected folder.
My System SpecsSystem Spec
27 Dec 2011   #3
marsmimar

Microsoft Community Contributor Award Recipient

 
 

Another nice tutorial!
My System SpecsSystem Spec
.


27 Dec 2011   #4
Infinite

Windows 7 Ultimate SP1 - 64 Bit
 
 

Quote   Quote: Originally Posted by Brink View Post
You're welcome Infinite.

Hide/unhide Only Selected Folder(s) and/or File(s) without including the subfolders and files in a folder.

OR

Hide/unhide Only Subfolder(s) and File(s) in Selected Folder(s) without hiding/unhiding the selected folder.
So if I wanted to Hide or Unhide everything including the file, will I need to do both?
My System SpecsSystem Spec
27 Dec 2011   #5
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

Thank you Lee.
My System SpecsSystem Spec
27 Dec 2011   #6
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by Infinite View Post
Quote   Quote: Originally Posted by Brink View Post
Hide/unhide Only Selected Folder(s) and/or File(s) without including the subfolders and files in a folder.

OR

Hide/unhide Only Subfolder(s) and File(s) in Selected Folder(s) without hiding the selected folder.
So if I wanted to Hide or Unhide everything including the file, will I need to do both?

Yes, for folder.

I couldn't get it worked out so far to automatically hide a selected folder and it's contents with one click. Only with using both instead for now.
My System SpecsSystem Spec
20 Apr 2014   #7
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

Thank you Shawn

I have not applied your handy trick ... yet.
BUT if a folder/file is already hidden how can the folder/file be unhidden if it is already hidden ?
I suppose folder-options would have to be set to show-all to use the unhide context-menu item.

Is it possible to only view Hide and Unhide on Shift+RClick context-menu instead of the RClick context menu?
Shift+RClick lists 23 items
RClick lists 20 items

Would this tweak be easier/possible through a third party context menu manager ?
I am not adverse to tweaking the registry manually.

Thank you
My System SpecsSystem Spec
20 Apr 2014   #8
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

LOL, yeah you would have to have hidden files showing to be able to unhide it. I like using this to make it easy to toggle hide/show hidden files as needed.

Show - Hide Hidden Files - Add to Context Menu
My System SpecsSystem Spec
Comment

 File and Folder - Add "Hide" and "Unhide" to Context Menu




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Remove "Create Shortcut" from file and folder context menu?
Hi Shawn, is there a way to remove "Create Shortcut" from the right-click context menu on a file/folder?
Customization
add icon to context menu "Open File/Folder Location"
Is it possible to add icon to the entry Open File/Folder Location? I created expendable string value and name it Icon and then in value i inserted the path to the .ico file, but no icon is showing up.
Customization
"Hide/show selected file" using context menu
Hi, I managed to create these custom context menu options: http://i44.tinypic.com/2l16w8.png Creating two registry keys in , and using these commands: attrib -h "%1" attrib +h "%1"("Mostra" = show, "Nascondi" = hide in italian) Now, is there a way to make only one of the two options...
Customization
File and Folder - Add "Set and Unset as Read-only" to Context Menu
How to Add "Set and Unset as Read-only" to File and Folder Context Menu in Windows 7 and 8 This will add Read-only File Attributes and Read-only Folder Attributes to the context menu of files and folders for all users to be able to set or unset the read-only attribute of one or more selected...
Tutorials
Add "play all" for my music and "slideshow" to images context menu?
excuse me sir. i need to add "play all" for my music and "slideshow" for my images to my context menu bcoz i recently removed my explorer tool "Folder band"
Music, Pictures & Video
Remove "Restore previous versions" and "Share with" from context menu
Hello! ... How about removing these two: "Restore previous versions" and "Share with"
Customization

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 04:53.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App