Click here to return home   Click here to visit the Tweaks.com Network


Associate an icon with a drive
Posted 7/4/2003 by TweakXP Member - Views: 2168

To set the icon of any drive (hard disk, cd rom or anything else) with a letter (C:\ etc.), run REGEDIT (Start -> Run -> regedit)

Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

If one doesn't already exist, create a new KEY called "DriveIcons". Under this key, create a new key with the letter of your drive.

I.e. C for your C:\ drive.

To change the icon for that drive, create a key inside that one called DefaultIcon and set the path of (Default) to the location of your icon

eg C\DefaultIcon\
then (Default) = D:\Documents\C Drive Icon.ico

To change the name of that drive, create a key in the drive letter one (eg C\) called DefaultLabel and set the (Default) to what you want the drive to be called.
This is useful if you want to assign a long name to the floppy drive.



Comments

Click here for article comments

Related Advertisement

Free Computer Magazines for TweakXP.com Visitors!


 


© 2001-2009 Advanced PC Media LLC, All rights reserved.
TweakXP.com® is a registered trademark of Advanced PC Media LLC.

Microsoft, Windows and Windows XP are registered trademarks of Microsoft
Corporation.  Microsoft Corporation in no way endorses or is affiliated with TweakXP.com®.
All other products mentioned are registered trademarks and/or trademarks of their respective companies.