File Type Properties Customization
Customize file icons and type descriptions by extension while preserving system thumbnails
Author: Momo
Customize file icons and type descriptions by extension. Icons and descriptions
can be enabled independently. File associations, default applications, and
system thumbnail providers are preserved.
Before:

After:

Windhawk settings
Fill in the first File type properties entry, then save settings. For example:
- Extensions:
.txt,.log
- Icon:
%SystemRoot%\System32\shell32.dll,70
- Description:
Text document
Either property may be left empty to keep the preset or system value. A completely
empty entry ends the list; entries below it are ignored. Windhawk's Textual mode
can edit the same settings as YAML.
Optional INI preset
Enable Load INI preset and select an absolute INI path. The preset is read first;
nonempty valid Windhawk settings override individual properties afterward.
[.txt,.log]
Icon=icons\text.ico
Description=Text document
[.log]
Description=Log file
Sections and keys are case-insensitive. Repeated sections merge per property in
file order. Empty or invalid values do not erase earlier usable values. Relative
resource paths use the INI directory; paths in settings must be absolute. Paths
support environment variables. Quote icon paths containing commas. Icon indexes
start at 0; negative indexes select resource IDs. Descriptions also accept
@module,-resourceID, or @@ to start literal text with @.
Save INI files as UTF-8, or UTF-16 LE with BOM. Full-line comments start with
; or #. After editing the INI, re-enable the mod or save a changed mod setting.
The file is not watched automatically.
Refresh and limitations
- Refresh Explorer when mappings change is off by default. Enabling it may redraw
windows and reload thumbnails after changed mappings are saved, including the
first or last rule. An empty configuration stays loaded without hooks while
this option is on. Startup and shutdown do not request a refresh.
- Reopen affected windows or menus if they still show cached values.
- Prefer local icon files. First use of a slow or disconnected network resource
can block the requesting window until Windows finishes trying to load it.
- By default, only explorer.exe is targeted. For an application's standard
Open/Save dialogs, add its executable to Custom process inclusion list and
restart it. Applications with their own rendering or caches may be unaffected.
- Description overrides cover supported Type columns, file properties, details,
and native Shell New menus. If optional Shell symbols are unavailable, some
views keep system descriptions; details are logged.
- x86, x64, and ARM64 are targeted. ARM64 has not been tested on a physical device.