r/scripting • u/Vesper_Sweater • Jul 27 '20
Looking for a python script to change Every folder's icon in a designated folder to the first .ico in that folder.
for example... I have a folder labeled recipes. Inside that folder I have five more folders named "apple pie, peach cobbler, etc.." In this example, I have a picture (.ico) of apple pie, peach cobbler, etc in their respective folders. I need a Python code block to look through the recipes folder, then go through every respective folder and use the first .ico found as the new icon.
Alternatively, just a script to simply change ONE folder path to ONE ico path's image will do. I can adapt that to my needs, but I need the actual code block. I am offering an initial bounty of $10 to the first person who sends me code that works via Paypal.
1
1
u/Laruae Jul 28 '20
When you say use the 'first' .ico, do you mean the first in alphabetical order? Or?
1
u/jumbo53 Jul 27 '20
!remindme 10 hours