How to read only the second filename in the %S2 variable?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
PiotrMPPL
Junior Member
Junior Member
Posts: 46
Joined: 2018-10-26, 07:04 UTC

How to read only the second filename in the %S2 variable?

Post by *PiotrMPPL »

Hi

How to read only the second filename in the %S2 variable?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48154
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to read only the second filename in the %S2 variable?

Post by *ghisler(Author) »

Maybe use %C2 instead?
%C2 works like the second parameter of "Compare by content": Second selected file, or first selected in target panel (if there aren't 2 selected in the source panel), or file with same name as the one under the cursor in target panel if nothing is selected in the target. Note: If the right panel is active and less than 2 files are selected, %C1 and %C2 will be reversed.
Author of Total Commander
https://www.ghisler.com
Post Reply