for .xml file - icon show as folder

Moderators: Hacker, petermad, Stefan2, white
No.
added.
Code: Select all
[HKEY_CLASSES_ROOT\.xml]
"Content Type"="text/xml"
"PerceivedType"="text"
@="xmlfile"
[HKEY_CLASSES_ROOT\.xml\OpenWithList]
[HKEY_CLASSES_ROOT\.xml\OpenWithList\winword.exe]
@=""
[HKEY_CLASSES_ROOT\.xml\OpenWithProgids]
"MSEdgeHTM"=""
[HKEY_CLASSES_ROOT\.xml\PersistentHandler]
@="{7E9D8D44-6926-426F-AA2B-217A819A5CCE}"
=============================
[HKEY_CLASSES_ROOT\xmlfile]
@="XML Document"
EditFlags=type(3)
"FriendlyTypeName"="@%SystemRoot%\System32\msxml3r.dll,-1"
[HKEY_CLASSES_ROOT\xmlfile\CLSID]
@="{48123BC4-99D9-11D1-A6B3-00C04FD91555}"
[HKEY_CLASSES_ROOT\xmlfile\DefaultIcon]
@=""%1""
[HKEY_CLASSES_ROOT\xmlfile\shell]
@="open"
[HKEY_CLASSES_ROOT\xmlfile\shell\edit]
[HKEY_CLASSES_ROOT\xmlfile\shell\edit\command]
@=""C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16\MSOXMLED.EXE" /verb edit "%1""
[HKEY_CLASSES_ROOT\xmlfile\shell\open]
[HKEY_CLASSES_ROOT\xmlfile\shell\open\command]
@=""C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16\MSOXMLED.EXE" /verb open "%1""
[HKEY_CLASSES_ROOT\xmlfile\ShellEx]
[HKEY_CLASSES_ROOT\xmlfile\ShellEx\IconHandler]
@="{AB968F1E-E20B-403A-9EB8-72EB0EB6797E}"
=============================
OpenWithProgIDs(0)="MSEdgeHTM"
[HKEY_CLASSES_ROOT\MSEdgeHTM]
@="Microsoft Edge HTML Document"
"AppUserModelId"="MSEdge"
[HKEY_CLASSES_ROOT\MSEdgeHTM\Application]
"AppUserModelId"="MSEdge"
"ApplicationIcon"="C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe,0"
"ApplicationName"="Microsoft Edge"
"ApplicationDescription"="Просмотр веб-страниц"
"ApplicationCompany"="Корпорация Майкрософт"
[HKEY_CLASSES_ROOT\MSEdgeHTM\DefaultIcon]
@="C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe,0"
[HKEY_CLASSES_ROOT\MSEdgeHTM\shell]
[HKEY_CLASSES_ROOT\MSEdgeHTM\shell\open]
[HKEY_CLASSES_ROOT\MSEdgeHTM\shell\open\command]
@=""C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument %1"
[HKEY_CLASSES_ROOT\MSEdgeHTM\shell\runas]
"ProgrammaticAccessOnly"=""
[HKEY_CLASSES_ROOT\MSEdgeHTM\shell\runas\command]
@=""C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --do-not-de-elevate --single-argument %1"
==========================================================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\OpenWithProgids]
"xmlfile"=hex(0):
=============================
FileExts\OpenWithProgIDs(0)="xmlfile"
[HKEY_CLASSES_ROOT\xmlfile]
@="XML Document"
EditFlags=type(3)
"FriendlyTypeName"="@%SystemRoot%\System32\msxml3r.dll,-1"
[HKEY_CLASSES_ROOT\xmlfile\CLSID]
@="{48123BC4-99D9-11D1-A6B3-00C04FD91555}"
[HKEY_CLASSES_ROOT\xmlfile\DefaultIcon]
@=""%1""
[HKEY_CLASSES_ROOT\xmlfile\shell]
@="open"
[HKEY_CLASSES_ROOT\xmlfile\shell\edit]
[HKEY_CLASSES_ROOT\xmlfile\shell\edit\command]
@=""C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16\MSOXMLED.EXE" /verb edit "%1""
[HKEY_CLASSES_ROOT\xmlfile\shell\open]
[HKEY_CLASSES_ROOT\xmlfile\shell\open\command]
@=""C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16\MSOXMLED.EXE" /verb open "%1""
[HKEY_CLASSES_ROOT\xmlfile\ShellEx]
[HKEY_CLASSES_ROOT\xmlfile\ShellEx\IconHandler]
@="{AB968F1E-E20B-403A-9EB8-72EB0EB6797E}"
What is YOUR default app for the .xml file type?tuska wrote: 2023-11-14, 13:31 UTC WIN+i > Apps > Standard-Apps > Select default values by file type > Enter .xml ...
The default file type for .xml is:
Can you assign an application to this file type?
yes, in case of manual association with edge, the icon changes
That's a really good question.KozakMak wrote: 2023-11-15, 10:02 UTC 2tuska
not really
the question still remains - why was the icon initially different from the explorer?