Missing icons for HTML files
Moderators: Hacker, petermad, Stefan2, white
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
Missing icons for HTML files
Hi
I have encountered strange phenomena on my work PC:
empty HTML files have standard blank icon in TC.
Observations so far:
- by default HTML files are associated with Internet Explorer,
- non-empty files have proper IE icon shown,
- Windows Explorer has no problems with such blanks.
Does anybody have an idea why TC behaves this way?
I have encountered strange phenomena on my work PC:
empty HTML files have standard blank icon in TC.
Observations so far:
- by default HTML files are associated with Internet Explorer,
- non-empty files have proper IE icon shown,
- Windows Explorer has no problems with such blanks.
Does anybody have an idea why TC behaves this way?
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 50530
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, no idea - how does the association in TC looks like? And in Regedit?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50530
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Please export the key
HKEY_CLASSES_ROOT\HTML Document
and the key
HKEY_CLASSES_ROOT\.html
and finally
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html
Thanks!
HKEY_CLASSES_ROOT\HTML Document
and the key
HKEY_CLASSES_ROOT\.html
and finally
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html
Thanks!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2ghisler(Author)
I am sorry for delay.
HKEY_CLASSES_ROOT\HTML Document does not exist on my work PC.
The rest:
I am sorry for delay.
HKEY_CLASSES_ROOT\HTML Document does not exist on my work PC.
The rest:
I've took a look into one more key:Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.html]
@="htmlfile"
"Content Type"="text/html"
"PerceivedType"="text"
[HKEY_CLASSES_ROOT\.html\OpenWithList]
[HKEY_CLASSES_ROOT\.html\OpenWithList\dreamweaver.exe]
[HKEY_CLASSES_ROOT\.html\OpenWithProgIds]
"Opera.HTML"=hex:
[HKEY_CLASSES_ROOT\.html\PersistentHandler]
@="{eec97550-47a9-11cf-b952-00aa0051fe20}"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithList]
"a"="Dreamweaver.exe"
"MRUList"="cfahbged"
"b"="firefox.exe"
"c"="iexplore.exe"
"d"="WINWORD.EXE"
"e"="TOTALCMD.EXE"
"f"="connect.exe"
"g"="ToDoList.exe"
"h"="notepad++.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithProgids]
"htmlfile"=hex(0):
"FirefoxHTML"=hex(0):
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\htmlfile]
@="HTML Document"
"FriendlyTypeName"="@C:\\WINDOWS\\system32\\ieframe.dll.mui,-912"
"EditFlags"=hex:00,00,00,00
"BrowserFlags"=dword:00000008
[HKEY_CLASSES_ROOT\htmlfile\BrowseInPlace]
@=""
[HKEY_CLASSES_ROOT\htmlfile\CLSID]
@="{25336920-03F9-11cf-8FD0-00AA00686F13}"
[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
@="\"%1\""
[HKEY_CLASSES_ROOT\htmlfile\ScriptHostEncode]
@="{0CF774D0-F077-11D1-B1BC-00C04F86C324}"
[HKEY_CLASSES_ROOT\htmlfile\shell]
@="opennew"
[HKEY_CLASSES_ROOT\htmlfile\shell\Edit]
@="&Edit"
[HKEY_CLASSES_ROOT\htmlfile\shell\Edit\command]
@="\"c:\\Program Files\\Microsoft Office\\Office12\\msohtmed.exe\" %1"
[HKEY_CLASSES_ROOT\htmlfile\shell\open]
@="Open in S&ame Window"
"MUIVerb"="@C:\\WINDOWS\\system32\\ieframe.dll.mui,-5732"
[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE\" -nohome"
[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec]
@="\"file://%1\",,-1,,,,,"
"NoActivateHandler"=""
[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Application]
@="IExplore"
[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew]
"MUIVerb"="@C:\\WINDOWS\\system32\\ieframe.dll.mui,-5731"
@="&Open"
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command]
@="\"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE\" %1"
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec]
@="\"%1\",,-1,0,,,,"
"NoActivateHandler"=""
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Application]
@="IExplore"
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\IfExec]
@="*"
[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Topic]
@="WWW_OpenURLNewWindow"
[HKEY_CLASSES_ROOT\htmlfile\shell\Print]
@="&Print"
[HKEY_CLASSES_ROOT\htmlfile\shell\Print\command]
@="\"c:\\Program Files\\Microsoft Office\\Office12\\msohtmed.exe\" /p %1"
[HKEY_CLASSES_ROOT\htmlfile\shell\printto]
[HKEY_CLASSES_ROOT\htmlfile\shell\printto\command]
@="\"C:\\WINDOWS\\system32\\rundll32.exe\" \"C:\\WINDOWS\\system32\\mshtml.dll\",PrintHTML \"%1\" \"%2\" \"%3\" \"%4\""
[HKEY_CLASSES_ROOT\htmlfile\ShellEx]
[HKEY_CLASSES_ROOT\htmlfile\ShellEx\IconHandler]
@="{42042206-2D85-11D3-8CFF-005004838597}"
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 50530
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The IconFile entry is set to %1, which means that the icon handler from
[HKEY_CLASSES_ROOT\htmlfile\ShellEx\IconHandler]
should be used. Apparently this doesn't work. Maybe you turned off icons for EXE/LNK files? In this case, TC will not use icon handlers like the one above.
[HKEY_CLASSES_ROOT\htmlfile\ShellEx\IconHandler]
should be used. Apparently this doesn't work. Maybe you turned off icons for EXE/LNK files? In this case, TC will not use icon handlers like the one above.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2ghisler(Author)
My TC configuration at work is almost the same as at home which means:
http://fenixproductions.pl/files/icons.png
I have also noticed that icons for HTML files which are in ZIPs (big blue e only) differs from non-compressed ones (blank sheet of paper with e).
My work PC has Windows XP with SP 2 only - maybe this matters somehow.
My TC configuration at work is almost the same as at home which means:
http://fenixproductions.pl/files/icons.png
I have also noticed that icons for HTML files which are in ZIPs (big blue e only) differs from non-compressed ones (blank sheet of paper with e).
My work PC has Windows XP with SP 2 only - maybe this matters somehow.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Balderstrom
Didn't try to play with it yet because I thought it would be better to know the reason behind mentioned issue. I know I can fix it easily with simple reassignment but it will leave the question unanswered.
In the other hand, it can be some strange TC bug and there will be no chances for fix if I give up too early.
So for the time being I will keep my assignments as they are and maybe change them in next month or so (after Christian get bored
).
Didn't try to play with it yet because I thought it would be better to know the reason behind mentioned issue. I know I can fix it easily with simple reassignment but it will leave the question unanswered.
In the other hand, it can be some strange TC bug and there will be no chances for fix if I give up too early.
So for the time being I will keep my assignments as they are and maybe change them in next month or so (after Christian get bored

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I guess, but you could back up the registry.
Make the change, and the change back to IE...
Back up again, and diff the two files and see what is actually wrong to start with.
And if there's nothing wrong there, possibly an internal association issue - if you've defined anything for html.
And/Or that checkbox [x] EXE/Lnk not on net.
Make the change, and the change back to IE...
Back up again, and diff the two files and see what is actually wrong to start with.
And if there's nothing wrong there, possibly an internal association issue - if you've defined anything for html.
And/Or that checkbox [x] EXE/Lnk not on net.
fenix_productions, on my work computer I have same thing - but files are associated with Mozilla. 0-byte .htm file has blank icon, 1-byte .htm file has Mozilla icon. With clean INI too.
Some affected extensions: HTM HTML MHT XML.
It seems that only browser files have such interesting 'bug'...
I've exported HKEY_CLASSES_ROOT key to get registered extensions and then made batch file to create test files for all extensions (more than 500 ones) with zero and nonzero size, here additional extensions that have different icons: ANI CDF CUR DLL HT ICO JOB LNK MHTML MSC ODC OTF PIF SCF SCP SCF TTC TTF XHT.
Some affected extensions: HTM HTML MHT XML.
It seems that only browser files have such interesting 'bug'...
I've exported HKEY_CLASSES_ROOT key to get registered extensions and then made batch file to create test files for all extensions (more than 500 ones) with zero and nonzero size, here additional extensions that have different icons: ANI CDF CUR DLL HT ICO JOB LNK MHTML MSC ODC OTF PIF SCF SCP SCF TTC TTF XHT.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2MVV
Do you also have completely different icons for problematic files which are zipped?
I mean something like:
http://fenixproductions.pl/files/htmlbug.png
Do you also have completely different icons for problematic files which are zipped?
I mean something like:
http://fenixproductions.pl/files/htmlbug.png
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
Extensions of empty files that have same empty icons inside of ZIP: CDF CUR DLL ICO OTF PIF (BTW I see another empty icon for CDF, OTF, PIF - like TOTALCMD.exe,3)
Extensions of empty files that have system icon inside of ZIP: HT HTM HTML MHT MHTML MSC ODC OTF XHT XHTML XML (BTW most of icons here are different with icons of non-empty files in normal folder - e.g. for HT extension in normal folder I see 32x32x4 icon shrinked to 16x16 and inside of ZIP I see 16x16x32bit icon - both icons are part of single icon associated with extension; in case of HTM I see completely different icons: in normal folder I see fox, globe and white sheet and in ZIP I see fox and globe w/o white sheet).
Extensions of empty files that have system icon inside of ZIP: HT HTM HTML MHT MHTML MSC ODC OTF XHT XHTML XML (BTW most of icons here are different with icons of non-empty files in normal folder - e.g. for HT extension in normal folder I see 32x32x4 icon shrinked to 16x16 and inside of ZIP I see 16x16x32bit icon - both icons are part of single icon associated with extension; in case of HTM I see completely different icons: in normal folder I see fox, globe and white sheet and in ZIP I see fox and globe w/o white sheet).
- ghisler(Author)
- Site Admin
- Posts: 50530
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Files inside archives are different, they cannot be handled by shell extensions. So since the default icon entry is empty (%1), TC has to take the icon from the associated EXE file instead.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com