简体   繁体   English

以编程方式更改文件夹图标的颜色

[英]Change folder icon color programmatically

I wanted to changed the color of folder icon of windows. 我想更改Windows文件夹图标的颜色。 Is that possible by any means of shell or just by modifying desktop.ini through C#? 是否可以通过任何Shell或仅通过C#修改desktop.ini来实现?

If you want to do this programatically, I would start by looking at the Portable Executable file format (Wikipedia entry). 如果要以编程方式执行此操作,那么我将从查看可移植可执行文件格式(Wikipedia条目)开始。 The resources section (.rsrc, see section 6.9) should contain the icon. 资源部分(.rsrc,请参见第6.9节)应包含该图标。 Using this information, you can write a tool to modify the icon. 使用此信息,您可以编写工具来修改图标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM