Page 1 of 1

Folder Icons

Posted: Sat Feb 01, 2003 1:59 pm
by CESS.tk
Looking for Vitruvian man pictures, I stumbled across this page. Home page of a game made in Visual Basic. So I thought I'd give it a try. The demo isn't realy that interesting, but when I quit the game, I noticed the folder icon of the folder in which I installed the game was changed. I think it's a really cool effect and I was wondering how he did it. Two (invisible) files were created in the folder: gladfold.ico (which is the icon he used, a green folder) and desktop.ini. This is inside desktop.ini:

Code: Select all

[.ShellClassInfo]
IconFile=gladfold.ico
IconIndex=0
Copy-pasting these files into another folder won't work. Any idea how this works?

Re:Folder Icons

Posted: Wed Feb 05, 2003 5:48 pm
by Tim
desktop.ini must have the system and hidden attributes; e.g. run attrib +s +h desktop.ini

Alternatively, folders have a "Customize This Folder" option on the right-click menu, where you can change the icon.