I have a folder on my desktop and 12 different icons. I want to create a scheduled task with Task Scheduler that runs as long as my PC is on and changes the icon of the fold
You can use below script that I found it here.
If [%1] == [] goto :eof ECHO [.ShellClassInfo] >%1\desktop.in ECHO IconResource=C:\icon.ico,0 >>%1\desktop.in move %1\desktop.in %1\desktop.ini attrib +S +H %1\desktop.ini attrib +R %1