OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Apr 27, 2024 7:20 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Folder Icons
PostPosted: Sat Feb 01, 2003 1:59 pm 
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:
[.ShellClassInfo]
IconFile=gladfold.ico
IconIndex=0
Copy-pasting these files into another folder won't work. Any idea how this works?


Top
  
 
 Post subject: Re:Folder Icons
PostPosted: Wed Feb 05, 2003 5:48 pm 
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.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group