Author Topic: Tip - How to use a folder specific icon  (Read 4278 times)

0 Members and 1 Guest are viewing this topic.

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2399
  • Gender: Male
    • www.zapsolution.com
Tip - How to use a folder specific icon
« on: May 11, 2007, 04:31:40 PM »
 
Using Windows Explorer you can setup the icon matching a specific folder.

This is made possible by using a desktop.ini ini file, and here is how to do it for your own application:

  • 1 - Create the destop.ini file

Code: [Select]
[.ShellClassInfo]
ConfirmFileOp=0
NoSharing=1
IconFile=MyIcon.ico
IconIndex=0
InfoTip=My dedicated folder.

  • 2 "MyIcon.ico" must be located in the same folder than the desktop.ini file
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Ian Webling

  • Newbie
  • *
  • Posts: 1
Re: Tip - How to use a folder specific icon
« Reply #1 on: September 02, 2008, 05:31:33 PM »
Quote
2 "MyIcon.ico" must be located in the same folder than the desktop.ini file

Not quite true.  As long as the full name is specified the icon can even reside in a .icl icon library file or a dll.  In addition the System attribute needs to be set on.

Offline Edwin Knoppert

  • Hero Member
  • *****
  • Posts: 554
  • Gender: Male
    • Hellobasic.com
Re: Tip - How to use a folder specific icon
« Reply #2 on: September 02, 2008, 06:32:47 PM »
What about a 2nd folder?

Offline Jürgen Huhn

  • Full Member
  • ***
  • Posts: 105
  • Gender: Male
Re: Tip - How to use a folder specific icon
« Reply #3 on: January 04, 2009, 03:09:42 AM »
On MS-Windows-NT 2000/XP/Vista you can set the Icon for a specific Folder,
simply by clicking the right Mousebutton over the Foldericon and selecting
the Proberty for the Folder in the Contextmenu of MS-Windows.
There you can select an Icon you like..
The System creates exactly the same Desktop.ini and set the Icon
you have selected!

;-D
 
.¸.•’´¯)¸.•’´¯)¸.•’´¯)¸.•’´¯)
¤ª“˜¨¨¯¯¨¨˜“ª¤....¤ ª“˜¨