How can I make windows explorer immediately notice that deleting desktop.ini?
I'm using SHGetSetFolderCustomSettings function to customize a folder icon. This function give me a proper result. However, I never find a way to turn customized folder to 开发者_如何学编程normal folder who has not desktop.ini. When I deleted it, expected result did not come. I probably guess that explorer's cache. So, I tried to flush private profile cache on explorer by calling WritePrivateProfileString(NULL, NULL, NULL, L"desktop.ini"). Unfortunately, I got failed.
How should I do to solve that?
精彩评论