JCMacintosh
Macintosh
- Messages
- 1
Hi
I like to personalize my Windows and i know changing my drive icon by "autorun.inf"... Like this :
[Autorun]
icon=myicon.ico
- But for an unwritable drive is useless...
I know changing by "regedit.exe"... I can using drive letter like C: D: or other like this :
[HKEY_CURRENT_USER\Software\Classes\Applications\explorer.exe\Drives\F\DefaultIcon]
@="C:\Windows\Icon\Drive_USB.ico"
- But is fastidius (26 letters) and not powefull if i dont know with letter my drive use before first use...
The better is when i can use the real ID of the drive for "predict" the best icon like this :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"9"="C:\Windows\Icon\Lan_Drive.ico"
"8"="C:\Windows\Icon\Internal_Drive.ico"
- It's really the better solution, but... But... But...
What is the ID for : USB Drive, CD/DVD Drive and THE Windows System Drive and other essential drives of Windows ???
I have just find the System Drive Icon on system file "imageres.dll" with the ID 32 but is not usefull.... I try 11 for CD/DVD Drive, i fact i try all the numbers used in "shell32.dll"... Useless too !
If anybody have this answer, I promise to cover him with praise on the net for the next 10 years !!! 
Thank you for everybody reading and understanding my worries
PS : Sorry for my poor english
I like to personalize my Windows and i know changing my drive icon by "autorun.inf"... Like this :
[Autorun]
icon=myicon.ico
- But for an unwritable drive is useless...

I know changing by "regedit.exe"... I can using drive letter like C: D: or other like this :
[HKEY_CURRENT_USER\Software\Classes\Applications\explorer.exe\Drives\F\DefaultIcon]
@="C:\Windows\Icon\Drive_USB.ico"
- But is fastidius (26 letters) and not powefull if i dont know with letter my drive use before first use...

The better is when i can use the real ID of the drive for "predict" the best icon like this :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"9"="C:\Windows\Icon\Lan_Drive.ico"
"8"="C:\Windows\Icon\Internal_Drive.ico"
- It's really the better solution, but... But... But...

What is the ID for : USB Drive, CD/DVD Drive and THE Windows System Drive and other essential drives of Windows ???

I have just find the System Drive Icon on system file "imageres.dll" with the ID 32 but is not usefull.... I try 11 for CD/DVD Drive, i fact i try all the numbers used in "shell32.dll"... Useless too !


Thank you for everybody reading and understanding my worries

PS : Sorry for my poor english
