Explorer Properties Button
Add a Properties button to the Windows 11 File Explorer command bar, between Delete and Sort, opening the properties dialog of the current selection
Author: AnnAngela

Adds a Properties button to the Windows 11 File Explorer command bar,
between the Delete and Sort buttons. Clicking it opens the properties
dialog of the current selection:
- Multiple selection - opens the combined properties dialog, just like
the context menu's Properties entry.
- Virtual locations - This PC, Recycle Bin, Quick Access and other items
without a filesystem path work too.
- No selection (configurable) - shows the properties of the current
folder, or does nothing.
The dialog opens via fast shell APIs (SHObjectProperties /
SHMultiFileProperties) without building the shell context menu, so it appears
without the delay that loading shell extensions would add. The context-menu
properties verb is only used as a fallback for exotic locations.
System requirements
Windows 11 24H2 / 25H2 or newer, with the WinAppSDK (WinUI 3) File Explorer
command bar. Older versions (Windows 10, Windows 11 23H2 and earlier) use a
completely different command bar; the mod stays silently disabled there.
How it works
The mod hooks a couple of functions of File Explorer's own WinUI 3 code
(FileExplorerExtensions.dll), gets the command bar from there, and inserts a
WinRT-constructed AppBarButton into its PrimaryCommands. The button survives
tab switches, navigation and new windows, and is cleanly removed when the mod
is disabled. Clicks drive the shell lookups from a worker thread, so the
Explorer UI stays responsive.
File Explorer windows which were already open when the mod is enabled are
handled too, but if the button doesn't show up in one of them right away,
opening a new tab or navigating to another folder makes it appear.
Implementation follows the Explorer Command Bar mod by DanRotaru from the
official windhawk-mods repository.
资源管理器属性按钮(中文说明)
在 Windows 11 文件资源管理器的命令栏(工具栏)上,"删除"和"排序"按钮之间添加一个"属性"按钮,点击后打开当前选中项目的属性对话框:
- 支持多选:多选时与右键菜单里的"属性"一样,打开合并的属性对话框。
- 支持虚拟位置:此电脑、回收站、Quick Access 等没有文件系统路径的项目也能正确打开属性。
- 没有选中项时(可配置):显示当前文件夹的属性,或什么都不做。
属性对话框通过快速 Shell API(SHObjectProperties / SHMultiFileProperties)直接打开,不构建右键菜单,避免了加载 shell 扩展带来的延迟;右键菜单的"属性"动词仅作为特殊位置的兜底。
系统要求
适用于 Windows 11 24H2 / 25H2 及以上使用 WinAppSDK (WinUI 3) 命令栏的文件资源管理器。旧版本(Windows 10、Windows 11 23H2 及更早)使用完全不同的命令栏实现,本 mod 会在其中安静地保持不启用状态。
工作原理
本 mod hook 了文件资源管理器自身的 WinUI 3 代码(FileExplorerExtensions.dll)中的若干函数,从那里拿到命令栏,并把一个用 WinRT 构造的 AppBarButton 插入 PrimaryCommands;按钮在切换标签页、导航、新窗口后自动恢复,禁用 mod 时被干净移除。点击的 Shell 查询由独立工作线程驱动,资源管理器界面保持响应。
启用本 mod 时已经打开的文件资源管理器窗口也会被处理;若某个已有窗口中按钮没有立即出现,打开一个新标签页或导航到其他文件夹即可让它出现。
实现参考了官方仓库的 Explorer Command Bar mod(DanRotaru),在此致谢。