Ico files not displayed as icons

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
CWBillow
Member
Member
Posts: 121
Joined: 2006-01-28, 04:38 UTC
Location: San Diego, CA, USA

Ico files not displayed as icons

Post by *CWBillow »

I have a folder of ico files that show properly in Explorer but only as "blank" icons in Total Commander.

My config file is set to Icons/All Associated + EXE.

Why am I not seeing the icons?

My Windows version is 10, and my TC version is 8.51a.

Regards,
Chuck Billow
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Note: At TC the shown icons at the file list are those of the associated program, not of the file content itself.
#5767 Personal license
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

The DefaultIcon property for the ICO filetype is not set correctly for your system.

I'm not certain this is always how you do it, but it's how I have it done.
  • Open a registry editor.
  • Navigate to HKEY_CLASSES_ROOT\.ico\
  • Take a note of the default value here. Lets call that value $icoPath
  • Navigate to HKEY_CLASSES_ROOT\$icoPath\DefaultIcon\
  • Change the default value to "%1".
Note, if some of these paths does not exist, just create them.

Once done, changes may not appear right away. Windows has a function to rebuild the file associations, but since we did this change ourselves, it's not being called. So you may have to restart Windows. You'll have to restart TC under any circumstance.
Of all the planets I've been to, this one is my favorite.
User avatar
CWBillow
Member
Member
Posts: 121
Joined: 2006-01-28, 04:38 UTC
Location: San Diego, CA, USA

Post by *CWBillow »

OK, first I unistalled IrfanView, rebooted, and then reinstalled it with NO selected associations.

Then I went and did the regedit mods, with the resulting entries shown here:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.ico]
@="icofile"
"Content Type"="image/x-icon"
"PerceivedType"="image"

[HKEY_CLASSES_ROOT\.ico\OpenWithProgids]
"AppX43hnxtbyyps62jhe9sqpdzxn1790zetc"=hex(0):

[HKEY_CLASSES_ROOT\.ico\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"


-----
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\icofile]
@="Icon"
"EditFlags"=dword:00200000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,33,00,30,00,36,00,30,00,31,00,00,00
"ImageOptionFlags"=dword:00000000

---

[HKEY_CLASSES_ROOT\icofile\DefaultIcon]
@="\"%1\""

[HKEY_CLASSES_ROOT\icofile\shell]

[HKEY_CLASSES_ROOT\icofile\shellex]

[HKEY_CLASSES_ROOT\icofile\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{43372ada-945b-4713-82db-d217b338ae6f}"

[HKEY_CLASSES_ROOT\icofile\shellex\{e357fccd-a995-4576-b01f-234630154e96}]
@="{43372ada-945b-4713-82db-d217b338ae6f}"

I get the icons fine in Explorer, but in TC, after the mods and after a reboot, they still are not showing correctly.

What the heck am I doing wrong here?

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

Post by *ghisler(Author) »

Please check whether the following key exists:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ico

This one is created by Explorer when you right click on an ico file and choose "Open with" and "Always". This key takes precendence over HKEY_CLASSES_ROOT\.ico.
Author of Total Commander
https://www.ghisler.com
surr3a1
New Member
New Member
Posts: 1
Joined: 2016-06-19, 13:08 UTC

...

Post by *surr3a1 »

I think that all these replies are completely wrong and useless!

Go to:

1. Configuration > Options > Icons
2. Make sure that you have the first radio selected: All associated + EXE/LNK

Done!
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

surr3a1 wrote:2. Make sure that you have the first radio selected: All associated + EXE/LNK
CWBillow wrote:My config file is set to Icons/All Associated + EXE.
So what you write was already taken into consideration ;-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply