Hi
How to read only the second filename in the %S2 variable?
How to read only the second filename in the %S2 variable?
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: How to read only the second filename in the %S2 variable?
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.
%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
https://www.ghisler.com