... the preceding VBS script is from that extremely talented and
extraordinarily valuable MVP, Kelly Theriot, and is available at her site
'Kelly's Korner' at
www.kellys-korner-xp.com (Hope I've made it up to you,
Kelly ... [grin])
--
Fred
Can't remember where I got this so I apologize for not giving credit
where due ... but copy the following lines that are between (but not
incuding) the '--' marks into Notepad and save it as a VBS file ...
i.e. 'DriveIcons.vbs', and then run the saved file. You can select
whatever icons you've stored/downloaded/created.
--
Option Explicit
Set WSHShell = WScript.CreateObject("WScript.Shell")
Dim WSHShell, n, p, p1, p2, t, cn, itemtype, Mybox, Title
p =
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell
Icons\"
p = p & "8"
itemtype = "REG_SZ"
n = ""
WSHShell.RegWrite p, n, itemtype
p1 =
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell
Icons\"
n = WSHShell.RegRead(p1 & "8")
t = "Change Your Hard Drive Icon "
cn = InputBox("Type the Exact Path (follow by example) F:\My
Icons\nameoficon.ico", t, n)
If cn <> "" Then
WSHShell.RegWrite p1 & "8", cn
End If
Title = "Your Hard Drive Icons have been changed. Reboot for the
changes to take effect." & vbCR
Title = Title & "" & vbCR
Title = Title & "To set back to default, run the script again and
leave the entry blank, reboot." & vbCR
MyBox = MsgBox(Title,4096,"Finished")