Assigning a custom icon to a drive in XP...

Hi all,

first I have to say sorry about posting such message in this thread.
Exactly it is not file system driver related

I assign dynamicaly a custom icon to my virtual drive and sucha a way I
show different drive conditions in Windows Explorer.
From MSDN I found how to change drive icons - there was a registry key
value associated with appropriate drive letter:

* Windows 2000 :

HKEY_CURRENT_USER
Applications
Explorer.exe
Drives
DriveIcons
E
DefaultIcon=C:\MyDir\MyDrive.exe,3
DefaultLabel=“MyDrive”

* All Other Versions of Windows :

HKEY_LOCAL_MACHINE
Software
Microsoft
Windows
CurrentVersion
Explorer
DriveIcons
E
DefaultIcon=C:\MyDir\MyDrive.exe,3
DefaultLabel=“MyDrive”

The second way works fine on NT & W2K, but I couldn’t make it work on XP.
I found that after restart the DefaultLabel was changed but the icon was
still the same.

Thanks in advance,
Kristian


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com