-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This wiki documents Windows Hidden Extension Toggle, a lightweight batch-based utility designed to make normally hidden file extensions visible in Windows File Explorer.
The project targets a specific Windows behavior: some registered file types keep their extension hidden even when Hide extensions for known file types is disabled in Explorer.
This is particularly relevant for shortcut-based files such as .lnk, which can otherwise appear visually similar to harmless files while actually being shortcuts to another location or executable. Microsoft documents that .lnk is handled specially by Explorer through the NeverShowExt registry value.
The script provides an interactive menu with two actions:
- Show hidden extensions
- Hide hidden extensions
In addition to the special extension classes, the script also updates the standard Explorer visibility settings:
| Registry value | Show mode | Hide mode |
|---|---|---|
| Hidden | 1 | 0 |
| HideFileExt | 0 | 1 |
| ShowSuperHidden | 1 | 0 |
The script then restarts
explorer.exeso the changes are immediately reflected in File Explorer.
The standard version handles the main set of hidden extensions supported by the project.
The extended version additionally attempts to process several CLSID-based registry entries used by legacy or special Windows file types. The extended implementation currently requires further work for the system-level entries.
-Windows
- Administrator privileges
- Windows 11 is the current tested target
The extended script additionally targets registry entries requiring stronger system-level access, but this part is currently not fully implemented.
- Download the desired .bat script from the repository.
- Run it as administrator.
- Select:
- 1 to show hidden extensions
- 2 to hide hidden extensions
- 3 to exit
- The script applies the registry changes and restarts Windows Explorer.
Showing file extensions does not prevent malicious files from existing, but it makes filenames less ambiguous.
For example:
invoice.pdf
is visually different from:
invoice.pdf.lnk
when the .lnk extension is visible.
This is especially useful because Windows normally hides the .lnk extension independently of the general Explorer extension setting.
This project is intended as a small utility/helper for Windows configuration.
It does not attempt to replace antivirus software or provide malware detection. Its purpose is to make file types and extensions more explicit to the user.
- Wiki content made by AI analysis of notes and sources.