I am changing the folder icons with c# function. Its working fine but the problem is its working for first time. I mean I am not able to change the icon for the folder for w
I've faced with similar issue. Just remove the desktop.ini file before calling the function for the second time. The same scenario is used if you would like to clear folder icon:
....
FolderSettings.pszIconFile = @"{icon path}";
FolderSettings.iIconIndex = 0;
....