View Single Post
Old 03-01-2007   #2 (permalink)
Keith Miller MVP


 
 

Re: User Folder Icons

The Music folder gets its special icon via the 'desktop.ini' file. It's a
simple text file with a .ini extension. It is normally flagged as 'Hidden'
and 'System'. If it doesn't exist in the folder, create it in notepad.
It's contents should be:

---------------------
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790
InfoTip=@%SystemRoot%\system32\shell32.dll,-12689
IconResource=%SystemRoot%\system32\imageres.dll,-108
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-237
[LocalizedFileNames]
Sample Music.lnk=@%SystemRoot%\system32\shell32.dll,-21806
-------------------

In order for Explorer to process the contents of a 'desktop.ini' file, the
folder must have its 'Read-Only' attribute set. Open a command prompt
window to the parent folder (C:\Users\<UserName>) and type the following
command:

attrib +r muziek


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"Robbert" <Robbert@discussions.microsoft.com> wrote in message
news:BD88E898-8E1A-474E-A52C-46F01C247155@microsoft.com...
> Ok I've got this problem:
> The User folders, containing documents, pictures, music, video's and stuff
> normally normally have nice specific icons for each folder, like most
> folders
> in the picture:
> [img=http://img366.imageshack.us/img366/3231/foldermk3.jpg]
> Now, the normal music folder used to be 'music' (red). But I changed it to
> 'muziek' (blue), because I created 'muziek' in C:\program files\muziek,
> which
> I was used to. But the new muziek folder didn't have one of these
> nice-looking icons, just a standard folder-icon.
> So my question is: how do I give this folder the icon it should have?
> Because you change the icon of these folders, unlike normal folders.


My System SpecsSystem Spec