You can add the Hidden Items command to the context menu to toggle the visibility of hidden files in File Explorer. The command will be available in a folder's context menu and in the context menu of the folder background (the white area). Here is how you can do this.
To add Toggle Hidden Items Context Menu in Windows 10, do the following.
Apply the Registry tweak listed below. Paste its contents inside Notepad and save as a *.reg file.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\Windows.ShowHiddenFiles] "CommandStateSync"="" "Description"="@shell32.dll,-37573" "ExplorerCommandHandler"="{f7300245-1f4b-41ba-8948-6fd392064494}" "MUIVerb"="@shell32.dll,-37572" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.ShowHiddenFiles] "CommandStateSync"="" "Description"="@shell32.dll,-37573" "ExplorerCommandHandler"="{f7300245-1f4b-41ba-8948-6fd392064494}" "MUIVerb"="@shell32.dll,-37572"
Double click the file you created, confirm the import operation and you are done!
Now, you can right-click in the empty white space in any folder and select Hidden Files to toggle their visibility.
To understand how this tweak works, refer to my previous article where I explained how to add any Ribbon command to the Context menu in Windows 10. See
How to add any Ribbon command to the right click menu in Windows 10
In short, all the Ribbon commands are stored under this Registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell
You can export the desired command and modify the exported *.Reg in order to add it to the context menu of files, folders, or any other object visible in File Explorer.
To save your time, I made ready-to-use Registry files. You can download them here:
Alternatively, you can use Context Menu Tuner. It will allow you to add any Ribbon command to the context menu.
You can also add the useful Hide Selected Items command to the context menu in Windows 10.
That's it.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
What about the hidden system files?