如何将文件夹图标恢复为默认值? [英] How to restore the folder icon to default?
问题描述
我找到了下面的链接并用它来更改文件夹图标。
I found the link below and use it to change the folder icon.
https://stackoverflow.com/questions/9277492/folder-icon-change
如何将文件夹图标恢复为默认值?我无法删除desktop.ini文件,因为此文件最初存在(如果删除Desktop.ini,则可以恢复文件夹图标)。 API SHGetSetFolderCustomSettings只添加了一行"IconResource = xxxxxxx",
如果我在Desktop.ini文件中手动删除了这个IconResource行,则无法恢复文件夹图标。
How can I restore the folder icon to default? I cannot delete the desktop.ini file because this file was originally present (The folder icon can be restored if the Desktop.ini be deleted). The API SHGetSetFolderCustomSettings only added a line "IconResource=xxxxxxx", the folder icon cannot be restored if I deleted this IconResource line manually in Desktop.ini file.
推荐答案
是的,手动删除了IconResource行,然后运行 SHChangeNotify恢复文件夹图标,谢谢。
Yes, deleted the line IconResource manually, then run the SHChangeNotify to restore folder icon, thank you.
这篇关于如何将文件夹图标恢复为默认值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!