I am now programming a small tool and need to refresh the folder icon instantly.
As we know, in Windows, we could modify folder icons by the following steps manually:
- right click the folder
- choose "customize" tag
- click "change icon"
I also know how to set the desktop.ini file to modify its icon. But it takes really a long time to refresh (about 30 seconds).
I wanna know if there is a common way to solve it instantly no matter using C/C++ or script. Or Windows never provides a way?
If possible, any code is welcome.