
I am having some issue persuading Total Commander (9.21a) to show proper icons for my specific file type.
I am developing application, with which there are 2 file extensions associated.
The application and both file extensions have each their own icon (so 3 different icons). Application has it's icon embedded in it, the file extensions have their icons associated in the registry.
The problem is, that Total Commander doesn't show the application icon just for application exe, but also for both associated file extensions, so I see only 1 type of icon instead of 3. Everywhere else in the Windows (10) it shows properly (desktop, Windows File Explorer, other applications and file browsers), but not in the Total Commander.
The following is a .reg file content for one of the file extensions
"""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.cdf]
[HKEY_CLASSES_ROOT\.cdf\DefaultIcon]
@="\"C:\\Telight\\Q-PHASE\\bin\\gui\\cdfico.ico\""
[HKEY_CLASSES_ROOT\.cdf\shell]
[HKEY_CLASSES_ROOT\.cdf\shell\Open]
[HKEY_CLASSES_ROOT\.cdf\shell\Open\command]
@=hex(2):22,00,43,00,3a,00,5c,00,54,00,65,00,6c,00,69,00,67,00,68,00,74,00,5c,\
00,51,00,2d,00,50,00,48,00,41,00,53,00,45,00,5c,00,62,00,69,00,6e,00,5c,00,\
51,00,2d,00,50,00,48,00,41,00,53,00,45,00,2e,00,65,00,78,00,65,00,22,00,20,\
00,22,00,25,00,31,00,22,00,00,00
"""
Is there something missing or something wrong? As far as the Windows icon association, it seems to follow this manual: https://docs.microsoft.com/en-us/windows/win32/shell/how-to-assign-a-custom-icon-to-a-file-type
I'm guessing that Total Commander is using some sort of way to determine file icon, that doesn't understand my way of defining those icons.
Could you please explain, so that I can make the icon associations work in Total Commander as well?
Best regards,
Vaclav