Toggle Hidden Files
Toggle the visibility of hidden files in Windows Explorer using Ctrl+H
Author: Asteski
This mod allows you to toggle the visibility of hidden files in Windows Explorer using the Ctrl+H keyboard shortcut.

Features
- Ctrl+H hotkey that works only when Explorer windows are focused
- Toggles the "Show hidden files" setting
- Optional: Also toggle protected OS files
- Optional: Ctrl+<modifier>+H shortcut to toggle protected OS files independently
- Applies changes immediately to Explorer windows
- Works with all Windows Explorer windows
Usage
- Focus an Explorer window - Click on or open any File Explorer window
- Press Ctrl+H - Use the keyboard shortcut to toggle hidden files visibility
- The setting will be applied immediately to all Explorer windows
Settings
- Also toggle protected OS files: When enabled, Ctrl+H will also show/hide protected operating system files
- Modifier for system files shortcut: Selects Shift (the default), Alt, or Shift+Alt for the separate system-files shortcut, or Disabled to turn it off
The shortcuts update Explorer's own hidden-items settings. The last state remains active after the mod is disabled and survives reboot.
Technical Details
- Only activates when Windows Explorer windows are in focus
- Queues toggle work to a worker thread to keep input handling responsive
- Uses Windows shell APIs to update hidden-file visibility live
- Notifies the shell to refresh views after toggling
- Handles proper cleanup when the mod is unloaded