Explorer Core Context Menu Customizer
Adds customizable icons and dynamic %file% labels to Open, Run as administrator, Delete, Rename, and Properties in the Windows File Explorer context menu without altering row spacing.
Author: akiyorm
Windows does not provide any registry entries or built-in options to customize the icons or labels of core File Explorer context menu commands. This mod was created to fill that gap cleanly and safely.
Windows 11 Note: This mod customizes the classic File Explorer context menu (accessible via Show more options or Shift+F10, or when the classic context menu is enabled).
Screenshots:
| Disabled (Default) |
Enabled (Customized) |
 |
 |
Highlights:
- Canonical Verb Matching: Identifies core shell commands via
IContextMenu::GetCommandString (GCS_VERBW), working across every Windows display language without touching third-party shell extension items.
- Zero Layout Distortion: Attaches icons cleanly during
IContextMenu::QueryContextMenu so native row height, padding, and bold text remain completely untouched.
- Clear-to-Reset Behavior: Clearing an icon path removes the icon for Open, Delete, Rename, or Properties, while Run as administrator reverts to the native Windows UAC shield.
- Custom Icon Support: Easily add your own
.ico files or use any built-in Windows icon with dll,index syntax.
- Per-Monitor DPI & Leak-Free Caching: Caches 32-bpp ARGB bitmaps per monitor DPI in memory with zero GDI handle leaks.
Dynamic %file% Placeholder:
Include %file% (or %name%) in any custom label field to dynamically display the right-clicked file, folder, or shortcut target name. Names longer than 30 characters are automatically shortened to the first 30 characters followed by ...:
Rename: '%file%' -> Rename: 'Spotify.exe'
Open: %file% -> Open: New folder (2)
Delete %file% -> Delete Very_Long_File_Name_Over_Thirt...
%file% Properties -> report.pdf Properties
Supported Context Menu Items:
- Open (
open) - Top bold default action (default icon: imageres.dll,-185)
- Run as administrator (
runas) - UAC elevation action (keeps native UAC shield and default label unless customized)
- Delete (
delete) - File and folder deletion action (default icon: Full Recycle Bin imageres.dll,-54)
- Rename (
rename) - Inline rename action (default icon: Clipboard shell32.dll,-16763, default label: Rename: '%file%')
- Properties (
properties) - Bottom item details action (default icon: imageres.dll,-114)