Associate .ZIP with TC

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
vlado
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-07, 00:01 UTC
Location: Slovakia

Associate .ZIP with TC

Post by *vlado »

Hi,

I have associated .ZIP extension with TC in order to open .ZIP email attachments in TC by simply clicking them.
I have used this command:
<TC path>\TotalCmd.EXE /O "%1"
Now after clicking .ZIP file the content is shown in ACTIVE tab of LEFT panel.
I would like the content to be shown in NEW tab of ACTIVE panel.
Is that possible? What should the syntax be?

Thank you.
Vlado
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 08-06-2004 23:57:56 +0000 vlado wrote:

v> I would like the content to be shown in NEW tab of ACTIVE
v> panel.
v> Is that possible?


AFAIK no - there are no command line parameters to open path in an active panel (only in the right or left) or in a new tab, - yep, sad.

BTW, I use command line parameters to start commander with my sertain INIs, so to make archives association (actually you can associate ANY supported archive type with Commander) works properly (i.e. run commander with the same INIs it was started) in this case I associate archives extentions with such a butch file:

____________transmission_from_tc.bat______________[/face]

[face=terminal]@echo off
start /high TOTALCMD.EXE %* /I=.\wincmd.ini /F=.\wcx_ftp.ini
:end
[/face]
[face=courier]_______________end_of_transmission________________

You can even make it play some sound if you'll add to it something like this:[/face]

[face=terminal]start /min mplay32.exe /play /close "drive:\path\to\some.wav".[/face]
Last edited by Black Dog on 2004-06-09, 07:15 UTC, edited 1 time in total.
User avatar
vlado
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-07, 00:01 UTC
Location: Slovakia

Post by *vlado »

Thank you, Black Dog.
Vlado
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

AFAIK this is on Christian's to do list. Correct me if I'm wrong. And if i am, please put it on the wish list :-)
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50512
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, it is on my to do list (a new switch for new tab)!
Author of Total Commander
https://www.ghisler.com
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Please add a switch to open a folder in currently active panel (or tab), too.

I have changed registry to automatically open TC when clicking a folder (on desktop for example) but since now I can only decide if to open it in left or right panel:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell]
@="Total_Commander"

[HKEY_CLASSES_ROOT\Folder\shell\Total_Commander]
@="Total Commander"

[HKEY_CLASSES_ROOT\Folder\shell\Total_Commander\command]
@="\"D:\\Programme\\Office\\Dateimanagement\\Total Commander\\TOTALCMD.EXE\" /O \"%1\""

Icfu
This account is for sale
Post Reply