- Local time
- 6:00 AM
- Posts
- 44
- OS
- Windows 11 23H2 Pro
A web search for this suggests Alt-V H H - this does work, but ignores super hidden files. Setting the appropriate registry entries and refreshing with F5 also works, but doesn't translate well into a script. The issue is sending F5 to refresh the view. It can be done but you may have to allow time delays. @LesFerch includes this function in his RightClickTools. I checked his source code to see if he has a better way of doing this. He does for windows 11 (and current versions of windows 10).
RightClickTools performs all its functions by running the RightClickTools.exe with the appropriate parameter. For toggling hidden files:
Downloading the zip file from https://github.com/LesFerch/RightClickTools/releases/download/1.2.0/RightClickTools.zip . unblocking it and extracting the exe, shows that it works nicely. Although it shouldn't be too difficult to create a smaller program with only that function, I don't think it would work any better.
So, to get a decent keyboard shortcut to toggle hidden files, create a shortcut file for RightClickTools.exe with the /showhide parameter, and set the shortcut key to taste. I used 'Toggle Hidden' as the shortcut name and Ctrl + Shift + H for the shortcut key. The shortcut needs to be in a suitable folder. I used the user start menu. You can find this from
I've not installed RightClickTools, but this would work just as well if you have.
Mike
RightClickTools performs all its functions by running the RightClickTools.exe with the appropriate parameter. For toggling hidden files:
RightClickTools.exe /showhide
Downloading the zip file from https://github.com/LesFerch/RightClickTools/releases/download/1.2.0/RightClickTools.zip . unblocking it and extracting the exe, shows that it works nicely. Although it shouldn't be too difficult to create a smaller program with only that function, I don't think it would work any better.
So, to get a decent keyboard shortcut to toggle hidden files, create a shortcut file for RightClickTools.exe with the /showhide parameter, and set the shortcut key to taste. I used 'Toggle Hidden' as the shortcut name and Ctrl + Shift + H for the shortcut key. The shortcut needs to be in a suitable folder. I used the user start menu. You can find this from
shell:programs
in the run box.I've not installed RightClickTools, but this would work just as well if you have.
Mike
My Computer
System One
-
- OS
- Windows 11 23H2 Pro
- Computer type
- PC/Desktop
- Manufacturer/Model
- MSI
- CPU
- i3-1215U
- Memory
- 8GB
- Monitor(s) Displays
- Dell S2721
- Screen Resolution
- 3840x2160
- PSU
- External 65W
- Keyboard
- Cherry mechanical (Blue)
- Mouse
- Microsoft
- Browser
- FireFox
- Antivirus
- MS