Internal association icon not working for zip files

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Internal association icon not working for zip files

Post by *msrox »

I have set internal associations for lots of file types including zip files. I have also set their icons and all are working except zip files. I have set the association for zip files with 7zip and also set the icon to 7zip icon. But the icons are still just the simple yellowish box for all zip files in my TC. Here is the code in wincmd.ini:

Filter1=*.zip
Filter1_open=%COMMANDER_DRIVE%\7-Zip\7zFM.exe %1
Filter1.icon=%COMMANDER_DRIVE%\7-Zip\7zFM.exe

This does work for any other file type with any other icon and even with 7zip icon, but this does not work for zip files.

Does anyone know have any though on what my be the issue?

Thanks
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Post by *jinsight »

19.05.13 Added: Internal unpacker for 7zip format using 7zip dll (32/64)

I believe the icon is supplied by Total Commander executable.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

Anyway to override it?
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, msrox.

Yes, there is. But doing so comes at a price:
In order to get rid of the T.C. internal packer icon, you have to configure T.C. not to treat archives like folders. The downside of doing so is that double clicking will not open an archive like a folder. Pressing <Ctrl><PgDn>, however, will still work.
Can be configured through the configuration dialogues.
Manual way:
file wincmd.ini
section [Packer]
option ZIPlikeDirectory=0

Cheers,
Karl
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

How about if I change the icon from the exe or dll that TC is using? Do you know where is the zip icon used in TC coming from?
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

msrox wrote:Do you know where is the zip icon used in TC coming from?
It's inside Totalcmd.exe, you cannot change it because TC has built-in protection against any modification to Totalcmd.exe
msrox
Member
Member
Posts: 101
Joined: 2008-03-14, 00:10 UTC

Post by *msrox »

Oh, that's not good! :(
Post Reply