Total Comannder 9.22a: vhd source file icon shown as archive

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
bl_tc
Junior Member
Junior Member
Posts: 3
Joined: 2020-01-10, 08:31 UTC

Total Comannder 9.22a: vhd source file icon shown as archive

Post by *bl_tc »

I have a problem with *.vhd files icon in Total Commander 9.22a. *.vhd is a source file for VHDL (hardware description language) and is associated with an IDE with it's own set of icons. Here is how the icons look in Explorer (Win7 x64):
Image: https://i.postimg.cc/C5GXQNGk/explorer-vhd-icons.jpg

The icons also look correct in Total Commander 8.01:
Image: https://i.postimg.cc/V6fhp1VL/tcmd-v8-01-vhd-icons.jpg

However in Total Commander 9.22a *.vhd file icon are shown under Archive File icon (not source file associated with IDE), same as *.zip (or other archive) files:
Image: https://i.postimg.cc/9ftSLz1n/tcmd-v9-22-vhd-icons.jpg
I have tried to search for *.vhd file assocications in Total Commander *.ini (or any other) files, but haven't found any corresponding options. I have also tried to play with TC 9.22a internal file associations, but without any luck. Here is how Associate window looks like:
Image: https://i.postimg.cc/pTsSt7wQ/tcmd-v9-22-vhd-Associate.jpg

Does anyone know why this happens and how can it be fixed?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6507
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total Comannder 9.22a: vhd source file icon shown as archive

Post by *Horst.Epp »

Regardless of your problem,
VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive.
So I would say its an archive because plugins like Total7zip can show the files in this "Archive".
There may be other usage of .vhd files but these are not common for me.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77
QAP 11.6.3.3 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Total Comannder 9.22a: vhd source file icon shown as archive

Post by *ghisler(Author) »

vhd is not normally detected as an archive. Please check whether there is a packer plugin installed for the vhd extension:
Menu Configuration - Options - Plugins - Packer plugins - Configure.
Then just type
vhd
in the box in the upper right.
Author of Total Commander
https://www.ghisler.com
bl_tc
Junior Member
Junior Member
Posts: 3
Joined: 2020-01-10, 08:31 UTC

Re: Total Comannder 9.22a: vhd source file icon shown as archive

Post by *bl_tc »

ghisler(Author) wrote: 2020-01-10, 09:48 UTC vhd is not normally detected as an archive. Please check whether there is a packer plugin installed for the vhd extension:
Menu Configuration - Options - Plugins - Packer plugins - Configure.
Then just type
vhd
in the box in the upper right.
Indeed. I've tried it and it is associated with Total7zip.wcx packer:

Code: Select all

734,%COMMANDER_PATH%\plugins\wcx\Total7zip\Total7zip.wcx
Is there a way to dis-associate it?
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: Total Comannder 9.22a: vhd source file icon shown as archive

Post by *Gral »

"Associate with" - (none) - OK
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Total Comannder 9.22a: vhd source file icon shown as archive

Post by *DrShark »

Gral wrote: 2020-01-10, 16:56 UTC "Associate with" - (none) - OK
Is it for disassociation of vhd with Windows program which opens it?

I think bl_tc meant disassociation of vhd in TC with Total7zip.wcx which is possible to do by removing a line like

Code: Select all

vhd=734,%COMMANDER_PATH%\plugins\wcx\Total7zip\Total7zip.wcx
from wincmd.ini.

VHD icon problem in TC actually may be solved without disassociation of anything. It's possible to set desired icon for *.vhd by creating for this extension an internal association (Files->Internal Associations), where only icon needs to be set (all other fields should be empty/default).
Last edited by DrShark on 2020-01-11, 09:19 UTC, edited 1 time in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: Total Comannder 9.22a: vhd source file icon shown as archive

Post by *Gral »

DrShark wrote: 2020-01-10, 17:52 UTC
Gral wrote: 2020-01-10, 16:56 UTC "Associate with" - (none) - OK
Is it for disassociation of vhd with Windows program which opens it?
Nope.
My advice refers to dialog box described by Christian:
Menu Configuration - Options - Plugins - Packer plugins - Configure
DrShark wrote: 2020-01-10, 17:52 UTC I think bl_tc meant disassociation of vhd in TC with Total7zip.wcx which is possible to do by removing a line like

Code: Select all

vhd=734,%COMMANDER_PATH%\plugins\wcx\Total7zip\Total7zip.wcx
from wincmd.ini.
Which is essentially the same as a GUI action effect.
bl_tc
Junior Member
Junior Member
Posts: 3
Joined: 2020-01-10, 08:31 UTC

Re: Total Comannder 9.22a: vhd source file icon shown as archive

Post by *bl_tc »

Ok, here is what was going on. Indeed there is a corresponding vhd file association in wincmd.ini:

Code: Select all

vhd=734,%COMMANDER_PATH%\plugins\wcx\Total7zip\Total7zip.wcx
Once it is commented, the archive icon association is gone and it is shown as a source file (exactly what I need).
The reason I couldn't find this obvious file association earlier is the following. I was using TC "Find Files" tool (Alt+F7) using the *.ini file pattern and "Find text:"="vhd" field:
Image: https://i.postimg.cc/CLPdxxw8/TC-Find-Files-ANSI-charset.jpg
However I wasn't getting any results. I have also tried to search for "vhd" text in all files (not only *.ini), but still got nothing. But once I knew, that "vhd" text pattern exists in wincmd.ini file, I've started to wonder, why "Find Files" wasn't getting any results. After trying various options, I've figured out, that the problem was encoding. Once in "Find Files" I've selected the "Unicode UTF-16" checkbox (instead of default "ANSI Charset (Windows)"), the "vhd" text pattern was found in wincmd.ini:
Image: https://i.postimg.cc/7Z5hGrLW/TC-Find-Files-Unicode-UTF-16.jpg

Will take that into account for future.
Thanks everyone, the problem is solved!
Post Reply