problem changing folder icons using desktop.ini

408 Views Asked by At

so i want to change desktop.ini to use custom folder icons

with open("desktop.ini", "a") as f:         
    f.write("[.ShellClassInfo]"+"\n")
    f.write("IconResource="+logo+",0")
 
os.system("attrib +h +s desktop.ini")

the desktop.ini file gets edited, its both hidden and a system file, and the text is identical to the text if i changed the icons manually, but it still doesn't work. any ideas?

0

There are 0 best solutions below