On Fri, Jul 18, 2008 at 1:11 PM, James Kerr <[EMAIL PROTECTED]> wrote: > When I drag and drop a URL to my desktop from IE it often has an custom icon > associated with the website.
Right. If there is a "/favicon.ico" object on the site (e.g., http://www.example.com/favicon.ico), it will be retrieved and used as a site icon. Interesting side note: MSIE only supports Windows icon format for the site icon, but Firefox can display any of the formats it normally supports. Some web site authors (e.g., http://www.dhl-usa.com/)have discovered this and used it to create site icons as animated GIFs. Way to go Firefox! As if Microsoft's MARQUEE tag wasn't bad enough. > Does anyone know where Windows stores these icon files? An "Internet Shortcut" is basically just a text file with a .URL extension. If you look at the contents of file in Notepad, you'll see it's basically a INI-format file. If a site icon is used, a reference to the actual URL is used. It doesn't get permanently stored locally. Windows will pull it off the network as-needed. Here's an example .URL file: [DEFAULT] BASEURL=http://www.microsoft.com/ [InternetShortcut] URL=http://www.microsoft.com/ IconFile=http://www.microsoft.com/favicon.ico IconIndex=1 On Fri, Jul 18, 2008 at 1:25 PM, James Kerr <[EMAIL PROTECTED]> wrote: > When I do that it just says %SystemRoot%\system32\SHELL32.dll That's just the default file that gets pulled up any time you ask Windows to browse for an icon. You can pick other files to pick different icons. -- Ben ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
