Saturday, June 2, 2018

I find the ID of system Drive Icon for customize my Windows

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 (26 usefull) like this :

[HKEY_CURRENT_USER\Software\Classes\Applications\explorer.exe\Drives\F\DefaultIcon]

@="C:\Windows\Icon\Drive_USB.ico"

- But is fastidius 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 are 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, 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 :-(


from Windows Central Forums https://ift.tt/2JmWHSq
via IFTTT

No comments:

Post a Comment