How can I change the icon for drive letters? - 17 Feb 2000
February 16, 2000
A. Windows 2000 lets you assign a different icon to drive letters. To do so, complete the following steps:
Start the registry editor (regedit.exe).
Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer.
From the Edit menu, select New - Key. Enter the name DriveIcons.
Select the new key, select New - Key, then enter the name of the drive (e.g., C).
Select the created key, select New - Key, then enter the name DefaultIcon.
Move to DefaultIcon, and double-click the (default) value.
Set the default value to the DLL containing the icon and the icon number (e.g., icons.dll,-24 is icon 24 in icons.dll). Click OK.
Close the registry editor.
You can click F5 (refresh) in Windows Explorer to show the new icons.
For example, here’s a DLL that contains a C and D icon that I created (ID 24 and 25, respectively) and a registry file that configures them on your machine.. To use the registry file, the icons.dll file would be at the root of C:, but you can easily change the registry file.
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIcons]
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIconsC]
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIconsCDefaultIcon]
@="c:\icons.dll,-24"
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIconsD]
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIconsDDefaultIcon]
@="c:\icons.dll,-25"
Click here to view image
About the Author
You May Also Like