File icon not shown in Total Commander

English support forum

Moderators: white, Hacker, petermad, Stefan2

barrykuma
Junior Member
Junior Member
Posts: 10
Joined: 2014-08-10, 09:05 UTC

File icon not shown in Total Commander

Post by *barrykuma »

Hi,

some file extensions do not show their respective icon in Total Commander (both 32 and 64 bit) although their icon is correctly shown in Explorer. TC just displays a blank icon instead.

I hope that someone can tell me how to fix this as I'm running out of ideas after having tried the following things:

- reasscociate the file
- remove the extension from the registry under the CU explorer extensions
- rebuild the Windows icon cache
- changed the icon to anotherone

thanks!
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

some file extensions do not show their respective icon in Total Commander
Which ones are you missing ?
#5767 Personal license
barrykuma
Junior Member
Junior Member
Posts: 10
Joined: 2014-08-10, 09:05 UTC

Post by *barrykuma »

.mkv and .flv are missing.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Let me guess: Do you use PowerDVD 13 or 14 for this extensions?
#5767 Personal license
barrykuma
Junior Member
Junior Member
Posts: 10
Joined: 2014-08-10, 09:05 UTC

Post by *barrykuma »

I use Zoom Player 9.2 MAX, PoverDVD isn't installed.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

The registry key HKEY_CLASSES_ROOT\.mkv points to the registry entry of the assigned program and its icon.
Please provide those entries.
#5767 Personal license
barrykuma
Junior Member
Junior Member
Posts: 10
Joined: 2014-08-10, 09:05 UTC

Post by *barrykuma »

I had already checked those, but I can't see anything wrong here:

Code: Select all

[HKEY_CLASSES_ROOT\.mkv]
[HKEY_CLASSES_ROOT\.mkv\OpenWithProgIds]
"ZPMKVFile"=hex(0):
And the contents of ZPMKV are:

Code: Select all

[HKEY_CLASSES_ROOT\ZPMKVFile]
@="Matroska Audio/Video File"

[HKEY_CLASSES_ROOT\ZPMKVFile\DefaultIcon]
@="C:\\Program Files (x86)\\Zoom Player\\zplayer.exe"

[HKEY_CLASSES_ROOT\ZPMKVFile\shell]
@="open"

[HKEY_CLASSES_ROOT\ZPMKVFile\shell\open]

[HKEY_CLASSES_ROOT\ZPMKVFile\shell\open\command]
@="\"C:\\Program Files (x86)\\Zoom Player\\zplayer.exe\" \"%L\""

[HKEY_CLASSES_ROOT\ZPMKVFile\ShellEx]

[HKEY_CLASSES_ROOT\ZPMKVFile\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\ZPMKVFile\ShellEx\ContextMenuHandlers\ZPShellExt]
@="{ABE00001-0123-ABED-1248-0248ADFA1909}"

[HKEY_CLASSES_ROOT\ZPMKVFile\ShellEx\ContextMenuHandlers\ZPShellExt]
@="{ABE00001-0123-ABED-1248-0248ADFA1909}"
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Code: Select all

[HKEY_CLASSES_ROOT\ZPMKVFile\DefaultIcon]
@="C:\\Program Files (x86)\\Zoom Player\\zplayer.exe"
I don't know if it makes a difference: it points just to the program, the icon position is missing

Try something like 0 or 1:

Code: Select all

[HKEY_CLASSES_ROOT\ZPMKVFile\DefaultIcon]
@="C:\\Program Files (x86)\\Zoom Player\\zplayer.exe",0
#5767 Personal license
barrykuma
Junior Member
Junior Member
Posts: 10
Joined: 2014-08-10, 09:05 UTC

Post by *barrykuma »

I didn't like the icons which came with Zoom Player so I changed all the files to directly point to the program instead. For as far as I know, it only doesn't work for the .mkv and .flv files. All the others also only point to the .exe but work fine.

Before I made these changes it all extensions were pointing to an icon file, including a position. However, at that time it also wasn't working for these two files.

I've just made the change, killed and restarted explorer but it still isn't fixed so I've removed the change in the registry as it must be something else....

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

Post by *ghisler(Author) »

There are a lot of ways to associate files with programs. I have never heared about this one (to my knowledge, this is ONLY used for the context menu - open with):
[HKEY_CLASSES_ROOT\.mkv\OpenWithProgIds]
"ZPMKVFile"=hex(0):
That's currently not supported by TC. Solution:
1. Start regedit
2. Go to
HKEY_CLASSES_ROOT\.mkv
3. Double click on (default) in the right panel
4. Enter the following: ZPMKVFile
5. Click OK
Author of Total Commander
https://www.ghisler.com
barrykuma
Junior Member
Junior Member
Posts: 10
Joined: 2014-08-10, 09:05 UTC

Post by *barrykuma »

I've changed the (Default) key but it doesn't help.

Strangely, when you export the complete .mkv key it won't show up in the export:

Code: Select all

[HKEY_CLASSES_ROOT\.mkv]

[HKEY_CLASSES_ROOT\.mkv\OpenWithProgIds]
"ZPMKVFile"=hex(0):
Do I need to add another key?

I don't understand why the other ZP associated keys are properly showing in TC, for example .avi displays the ZP icon just fine.

Code: Select all

[HKEY_CLASSES_ROOT\.avi]
@="WMP11.AssocFile.AVI"
"Content Type"="video/avi"
"PerceivedType"="video"

[HKEY_CLASSES_ROOT\.avi\OpenWithProgids]
"AppXhjhjmgrfm2d7rd026az898dy2p1pcsyt"=hex(0):
"Microsoft.PhotoManager.videotype"=""
"WMP11.AssocFile.AVI"=hex(0):
"ZPAVIFile"=hex(0):

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

[HKEY_CLASSES_ROOT\.avi\ShellEx]

[HKEY_CLASSES_ROOT\.avi\ShellEx\{3D1975AF-0FC3-463d-8965-4DC6B5A840F4}]
@=""

[HKEY_CLASSES_ROOT\.avi\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"

[HKEY_CLASSES_ROOT\.avi\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
which points to:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ZPAVIFile]
@="Audio Video File"

[HKEY_CLASSES_ROOT\ZPAVIFile\DefaultIcon]
@="C:\\Program Files (x86)\\Zoom Player\\zplayer.exe"

[HKEY_CLASSES_ROOT\ZPAVIFile\shell]
@="open"

[HKEY_CLASSES_ROOT\ZPAVIFile\shell\open]

[HKEY_CLASSES_ROOT\ZPAVIFile\shell\open\command]
@="\"C:\\Program Files (x86)\\Zoom Player\\zplayer.exe\" \"%L\""

[HKEY_CLASSES_ROOT\ZPAVIFile\ShellEx]

[HKEY_CLASSES_ROOT\ZPAVIFile\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\ZPAVIFile\ShellEx\ContextMenuHandlers\ZPShellExt]
@="{ABE00001-0123-ABED-1248-0248ADFA1909}"
thanks for looking into it!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try importing this:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.mkv]
@="ZPMKVFile"
This has to be saved in notepad in "Unicode" format, otherwise it cannot be imported as a .reg file.
Author of Total Commander
https://www.ghisler.com
barrykuma
Junior Member
Junior Member
Posts: 10
Joined: 2014-08-10, 09:05 UTC

Post by *barrykuma »

Thank you! That solved the problem :D
twoflowers
Junior Member
Junior Member
Posts: 4
Joined: 2022-04-26, 18:49 UTC

Re: File icon not shown in Total Commander

Post by *twoflowers »

I have a similar problem with .indd files (Indesign Document). They show fine in properties and explorer but i have no icon in total commander.

Image: https://i.ibb.co/qk5JZsY/indd.jpg

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.indd]
@="InDesign.Document"



so i don't really know what is causing this problem. Any help would be great.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: File icon not shown in Total Commander

Post by *Dalai »

2twoflowers
Please export the key HKEY_CLASSES_ROOT\InDesign.Document and post it here. Also check if, in that key, the referenced file in DefaultIcon exists and contains an icon.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply