recursive invocation using current left and right folders

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
jrbrown00
Junior Member
Junior Member
Posts: 26
Joined: 2003-04-23, 15:49 UTC

recursive invocation using current left and right folders

Post by *jrbrown00 »

I often recursively invoke total commander. Can I make it start with the current left and right folders in the new instance?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50930
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Just choose Configuration - "Save settings" before launching the second copy.
Author of Total Commander
https://www.ghisler.com
jrbrown00
Junior Member
Junior Member
Posts: 26
Joined: 2003-04-23, 15:49 UTC

Post by *jrbrown00 »

This does not seem to work if the panes have FTP connections as the current folder
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50930
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed plugin connections are not restored automatically.
Author of Total Commander
https://www.ghisler.com
jrbrown00
Junior Member
Junior Member
Posts: 26
Joined: 2003-04-23, 15:49 UTC

Post by *jrbrown00 »

Could this be an enhancement request?

I work with "unix on the left" and "windows on the right" and have many shortcuts (ctrl-D) set to FTP connections. I often need a new instance of total commander to have the same folders.

Could the the left and right panes be made available as symbolics or environment variables?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7026
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Start your 2nd copy with a button for TC and add the parameters
/l="%P" /r="%T"
jrbrown00
Junior Member
Junior Member
Posts: 26
Joined: 2003-04-23, 15:49 UTC

Post by *jrbrown00 »

I am familiar with /l and /r, but I do not see those new parms in the help. How do they work? %P=left and %T=right?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7026
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

jrbrown00 wrote:I am familiar with /l and /r, but I do not see those new parms in the help. How do they work? %P=left and %T=right?
Yes, they are in the help among all other params.
Just use the help while you define a new button.
jrbrown00
Junior Member
Junior Member
Posts: 26
Joined: 2003-04-23, 15:49 UTC

Post by *jrbrown00 »

adding /l="%P" /r="%T" does not seem to work. I tried both capitalizing /L and /R and also doubling the % signs.


Are you sure this should work?

command: %_F_%d1\apps\totalcmd\TOTALCMD.EXE
parameters: /L="%P" /R="%T"
icon file: %_F_%d1\apps\totalcmd\TOTALCMD.EXE
User avatar
petermad
Power Member
Power Member
Posts: 16148
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2jrbrown00
Copy this code into your clipboard (Ctrl+C)

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_EXE%
/L="%P" /R="%T"
%COMMANDER_EXE%,6
Recursive Invocation


-1
...right click on your button bar - and click "Paste".
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
jrbrown00
Junior Member
Junior Member
Posts: 26
Joined: 2003-04-23, 15:49 UTC

Post by *jrbrown00 »

Cool. I did not know that I could paste that way. But nothing changed. It gave me the same button attributes as I built by hand, and it still starts total commander with c: on both sides, even if I start with H: on the left and an FTP connection on the right.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7026
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

jrbrown00 wrote:Cool. I did not know that I could paste that way. But nothing changed. It gave me the same button attributes as I built by hand, and it still starts total commander with c: on both sides, even if I start with H: on the left and an FTP connection on the right.
Works here for any local drives
Will not work for open ftp connections
User avatar
petermad
Power Member
Power Member
Posts: 16148
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2jrbrown00

You are right it doesn't work for a panel with an FTP connection, but it works here for local and network drives. Notice that focus has to be on the left file panel to make it work as you want.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply