【问题标题】:How can I change the icons used in Windows Explorer? [duplicate]如何更改 Windows 资源管理器中使用的图标? [复制] 【发布时间】:2012-09-21 13:08:10 【问题描述】: 可能重复:Shell Icon Overlay (C#) Tortoise 会更改图标,以便您知道本地更改了哪些文件。这就是我想做的。 我想写一个在特定条件下改变应用图标的应用。 【问题讨论】: 你试过什么?你被困在哪里了?你想改变整个图标,还是只是一个图标覆盖? 甚至不知道从哪里开始。是的,我认为这是重复的。谢谢。 你需要使用 C# 以外的东西来实现 shell 扩展。 标签: c# windows 【解决方案1】: 它被称为外壳扩展,和Microsoft recommends against writing them in managed code。 这里是official MSDN documentation on how to create icon overlays。 【讨论】: 【解决方案2】: 另请看: How to change the icon for a shortcut on the desktop in C# 2.0? Programmatically change the icon of the executable 【讨论】: