Click to See Complete Forum and Search --> : Embedding an Folder Icon with Relative Path


jubcheng
12-17-2007, 08:49 AM
Hi.

Can someone of you guys tell me how to embed an icon into a Folder using a relative path?
I have the icon in allready but if I move the folder to another PC the icon won't show anymore.
The icon file is placed inside the folder where it should appear.

The desktop.ini inside the folder looks like this:

[ViewState]
Mode=
Vid=
FolderType=Music
Logo=
[.ShellClassInfo]
IconResource=D:\Music\Carlos Santana\santana.ico,0

If the folder gets moved to another PC the drive letter is not correct anymore.
So I was thinking to change the path inside the desktop.ini to a relative path.
How is this done or what is the correcy way of doing it?

Thanks in advance,
Cheng