Strange .xml icon: the icon is shown as folder ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50463
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Strange .xml icon: the icon is shown as folder ?

Post by *ghisler(Author) »

The following entry tells programs to load the icon from the file itself:
[HKEY_CLASSES_ROOT\xmlfile\DefaultIcon]
@=""%1""
But xml files don't contain any icons. There is also a reference to an icon handler:
[HKEY_CLASSES_ROOT\xmlfile\ShellEx\IconHandler]
@="{AB968F1E-E20B-403A-9EB8-72EB0EB6797E}"

This points to an OLE object to load the icon. Strangely both the Explorer and Total Commander show a standard icon, the Explorer shows a standard blank file icon, and Total Commander shows a standard blank folder icon...
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4048
Joined: 2007-05-21, 12:17 UTC

Re: Strange .xml icon: the icon is shown as folder ?

Post by *tuska »

After assigning "Microsoft Edge" as the default app for .xml files (can't remember ever having made a setting)
the icon on my PC looks like this: Image.


Windows 11 Pro (x64) Version 23H2 (OS build Build 22631.2715) | TC 11.02 x64/x86
Post Reply