Hello,
I have a script that changes the folder icon automatically. This script is saved in SendTo system folder, so a user can very easily select one of the pre-defined icons from context (right-click) menu. It is working, but the problem is that there is delay. From running the script up to the showing updated icon of folder it takes 30-45 seconds(!!!). I read all possible forums and discussions, I have tried many workarounds, spend many hours trying to fix this, but still I cannot get rid of this delay .

The script creates desktop.ini (hidden system file) inside the selected folder. Icons (.ico files) are stored in hidden folder inside SendTo folder.

I have discovered that the icon is updated immediately when after the script did the job:
1. I rename the folder
2. I pin this folder to the Start

What is not acceptable for me:
- rebuilt Icon Catalogue (advices include restarting explorer.exe or restarting PC)
- too complex instruction for a potential user - it must be simple (right-click > Send To > select icon), done by script.

Please can you help me?


Windows Version number: 1809