(changing desktop.ini to uppercase/lowercase or to desktop-temp.ini and then back to desktop.ini) When doing so, I see the folder icon change immediately. I found a way to see the icon change immediately, but it worked only when manually renaming desktop.ini through the explorer itself. Hopes / unfulfilling attempts Renaming desktop.ini programmatically (Not working unfortunately)
It would be better if it would not clear the entire thumbnail cache from all folders and files, as it only needs to update a single folder icon.It changes instantly as well sometimes, but very rarely, and I want it to work 100% of the time. ico file, I expect to see the result immideiately, but I only see it after 30 seconds to 4 minutes or so. bat, node.js or anything else that would work, I don't mind really). TL DRĮxpected result: I want to programmatically update my folder icon and see that the new icon take place instantly, without waiting. I need to restart explorer / reboot my computer or wait a couple of minutes (randomly) until I see the old icon change to the new icon. After reading a lot and trying for 2 days in a row, I managed to make something work by following this Microsoft tutorial on folder icons, but it's not perfect - changes don't take place immediately.