napes22 Posted January 28, 2002 Share Posted January 28, 2002 how? None of the programs work Link to comment Share on other sites More sharing options...
mavis Posted January 28, 2002 Share Posted January 28, 2002 I posted a tutorial here... Anyway you just need to resahck shell32.dll - fairly easy to do. Below is the end result :) mavis Link to comment Share on other sites More sharing options...
napes22 Posted January 29, 2002 Author Share Posted January 29, 2002 is there an easier way? that seems like a lot of trouble just to change 2 cdrom drives... Link to comment Share on other sites More sharing options...
clonk Posted January 29, 2002 Share Posted January 29, 2002 In the registry ------------------ You can apply different icons to seperate floppy drives, cdrom-drives and hard drives with some simple regkeys (Win 98 or above needed, or, more specific, shell at or above version 4.71 (check version info on i.e. explorer.exe or shell32.dll)). To do so create/edit a registry key... HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionexplorerDriveIcons Underneath this key, create/edit news keys with only the drive letter as their name. Underneath each create another key called "DefaultIcon", and modify the standard value on the right to point to your icon (full path), add a comma and number when it's in an .icl file (first inside = 0). Note that if there's an autorun.inf, as mentioned above, present in the root of the drive, this one will be displayed instead. With shell version 5.0 (Win Me/2k) and above you can also add a custom label for the drive. For this, add another subkey next to the DefaultIcon key, "DefaultLabel" and edit the standard value to your liking. Icons for removable media --------------------------------- Now my cd-writer has got a different icon, also any data cd-rom can have it's own icon. Just choose an icon and create the .inf file as mentioned above. Use no drive letter in the path, but make it look like "Icon="xxx.ico"" or "Icon="Imagesxxx.ico"". Then copy both to the cd. Even floppy disks, zip disks and other removable media can have their own icon added this way. But by default "autorun" can only be enabled/disabled for data and music cd's. To have it enabled for all drives, go into the registry to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer There's a binary value called "NoDriveTypeAutoRun", which by default says "95 00 00 00". Change the first bit to "91" and restart your computer. Note that inserting a new disk won't refresh the icon until you hit F5, or choose "view/refresh". Also note that the "floppy seek", everytime you open My computer, can be very annoying... Link to comment Share on other sites More sharing options...
Recommended Posts