|
Shortcuts w/ Favicon? The shortcut works fine, but I can't seem to get it to use the
favorite icon.
$wsh = new-object -com "WScript.Shell"
$FileName = "C:\Documents and Settings\xxx\Desktop\CNN.lnk"
$shortcut = $wsh.CreateShortcut($FileName)
$shortcut.IconLocation = "http://www.cnn.com/favicon.ico"
$shortcut.TargetPath = "http://www.cnn.com"
$shortcut.Save()
What am I missing?
__________________
Note: To reply, replace the word 'spam' embedded in return address with 'mail'. |