Difference between 'cm_SelectAll' and 'cm_SelectAllBoth'?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Difference between 'cm_SelectAll' and 'cm_SelectAllBoth'?

Post by *sexy69 »

What is the difference between
cm_SelectAll and cm_SelectAllBoth
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2sexy69

TotalCmd.inc:

cm_SelectAll=523;Select all (files or both, as configured in Configuration->Options->Operation->Selection)
cm_SelectAllBoth=3301;Select both files+folders
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

To say it in another way:
If MarkDirectories=1 in wincmd.ini then cm_SelectAll and cm_SelectAllBoth do the same - but if MarkDirectories=0 then cm_SelectAll only selects files.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Post by *sexy69 »

If MarkDirectories=1 then cm_SelectAllBoth and cm_SelectAll do the same
if MarkDirectories=0 then cm_SelectAllBoth and cm_SelectAllFiles do the same
It only duplicates existing files.
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

if MarkDirectories=0 then cm_SelectAllBoth and cm_SelectAllFiles do the same
No that is not correct, but:
if MarkDirectories=0 then cm_SelectAll and cm_SelectAllFiles do the same.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Post by *sexy69 »

if MarkDirectories=0 then cm_SelectAll = cm_SelectAllFiles
If MarkDirectories=1 then cm_SelectAll = cm_SelectAllBoth

What is the meaning of change?
Configuration -> Options -> Operation -> Selection (with Num + )
0 -> Select files only
1 -> Also select directories

result:
cm_SelectAll = cm_SelectAllFiles
or
cm_SelectAll = cm_SelectAllBoth

what is the sense: cm_SelectAll = cm_SelectAllFiles
Select all = Select only Files

And what does it mean? -> with Num +
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

sexy69 wrote: And what does it mean? -> with Num +
Select files/folders by pressing "+" on numpad
Last edited by Ovg on 2016-08-18, 09:59 UTC, edited 1 time in total.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

And what does it mean? -> with Num +
The selection you get if you press either + on the numeric keypad (or Ctrl-+ or Alt-+).

If you don't have a numeric keypad (laptop) the forget about this...
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Post by *sexy69 »

If I press the + window pops up "Expand selection"
Ctrl + = cm_SelectAllBoth
Alt + = cm_SelectAllFolders without a $RECYCLE.BIN
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Alt+ = Select all files with same extension.

But the thing is that Num+, Ctrl-Num+ and Alt-Num+ works differently depending on the setting of MarkDirectories
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply