How do I customrise folders to give them their own icons?

  • Thread starter Thread starter My Deja
  • Start date Start date
Hi My Deja,

Following the steps below will change a "regular" folder icon (for a New Folder that
has not been previously customized) from a plain folder icon into a Globe icon. Also
included in information on how to use your own IconFile.

- If necessary change your Explorer view settings as follows: Control Panel > Folder
Options > View [tab]: Uncheck: "Hide file extensions for known file types"
- Create a New Folder
- Right-click on the New Folder, choose Properties, in the Attributes section click
Read-only, click Apply, click OK to Apply changes to this folder only
- Right-click in the file list control area of your new folder and choose New > Text
Document
- Rename New Text Document to: desktop.ini
- Double-click desktop.ini, add the following three lines, and save the file:

[.ShellClassInfo]
IconFile=C:\WINNT\system32\shell32.dll
IconIndex=13

- Refresh Explorer using the F5 key. You may need to do this several times before
the new icon displays. If the icon has not changed after 4 or 5 refreshes, close all
running instances of Explorer, and then open Explorer.

To customize the folder icon using your own icon follow these rules to edit the
values in your desktop.ini.

IconFile = The file name that contains the icon to show for the folder. It can be an
ICO or a BMP file, as well as EXE or DLL file that contain icons. You must use the
fully qualified path unless the IconFile is in the same folder as desktop.ini.

IconIndex = The index of the icon in the file just specified. Set it to zero if you
are using an ICO or BMP file. If you are loading the icon from a file that contains
multiple icons, such as EXEs or DLLs, use the ordinal 0-based position of the icon
within the file. In the above example, we used an icon in a file that contains
multiple icons (shell32.dll) and that has an ordinal 0-based position of 13.

For more information on the desktop.ini see:

Customizing Folders with Desktop.ini
http://msdn.microsoft.com/library/e...hell_basics/shell_basics_extending/custom.asp

Customizing your Computer in Desktop.ini
http://www.geocities.com/registrylord/desktop.txt

--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g

: "My Deja" <mydejamail AT yahoo DOT co DOT uk>
: Wrote in message : Sent: Friday, August 01, 2003 04:45 AM
: How do I customrise folders to give them their own icons?
 
Back
Top