I made this to fix the issue where folder icons don't update immediately after modifying desktop.ini with a batch script. This program lets me refresh and update with the following command:
FolderIconUpdater.exe /f "C:\Target\Folder"You can also assign a folder icon directly:
FolderIconUpdater.exe /f "C:\Target\Folder" /i "C:\Folder\Icon.ico"It works, but there are still some issues to address:
- Antivirus may detect it as malicious.
- Sometimes, F5 or manual refresh is still needed.
- I want to add options to set file attributes for desktop.ini and .ico.
This is as far as I’ve gotten, but I might update it later. I haven’t made a release for this repo yet, but you can check out the compiled version of the program here: FolderIconUpdater.exe