Using %C1 and %C2 doesn't fully work like when selection for Compare by Content is made.
If only ONE file is selected in the source panel and NONE is selected in the target panel AND the cursor is NOT on the selected file, then if you are in the left panel %C1 will point to the selected file in the left panel, but %C2 will point to a file with the name of the file UNDER the cursor in the right panel - that is not how CbC does it it - it will use the selected file in the left side and a file with the same name as the SELECTED in the right panel for the right side.
If you are in the right panel with only ONE file selected and the cursor on ANOTHER file and no files selected in the left panel, then %C1 points to a file with the same name as the file UNDER the cursor in the left panel - this is also not how CbC does it - it will point to a file with the same name as the SELECTED file in the left panel for the left side and to the SELECTED file in the right side.
In other words - when only ONE file is selected, then the file UNDER the cursor should not be included in the selection (unless the cursor is on the selected file, of course) - Using the file UNDER the cursor should ONLY happen if NO files are selected.
[solved] %C1 and %C2 doesn't fully work like Compare by Content
Moderators: Hacker, petermad, Stefan2, white
[solved] %C1 and %C2 doesn't fully work like Compare by Content
Last edited by petermad on 2021-05-30, 12:03 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You are right, I missed this special case, thanks!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Confirmed fixed in TC9b8 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar