Make sorting of directories "Like files (also by time)" the default.

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Woolf
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-03, 21:06 UTC

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *Woolf »

Yes, I have a hotkey for this, but since there is auto switch mode in TC, it would make sense to implement function like this.
User avatar
Ambaquista
Junior Member
Junior Member
Posts: 60
Joined: 2005-05-27, 11:11 UTC
Location: Luanda, Angola

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *Ambaquista »

Excuse me but I confused...
What I want is this:

Show in the panel (default view):
1folder <DIR>
2folder <DIR>
3folder <DIR>
4folder <DIR>
5folder <DIR>
1fileA size
1fileB size
2fileA size
2fileB size
2fileC size
2fileD size
3fileA size
4fileA size
4fileB size
4fileC size

What I want: (sort alphabetical)
1folder <DIR>
1fileA size
1fileB size
2folder <DIR>
2fileA size
2fileB size
2fileC size
2fileD size
3folder <DIR>
3fileA size
4fileA size
4fileB size
4fileC size
4folder <DIR>
5folder <DIR>

and, as far as I know, isn´t possible in TC.
And with lot of duos like these:
filenameX.htm file
filenameX_files folder
it´s an important option
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *ghisler(Author) »

NO, TC doesn't support mixing of files and folders, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1574
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *wanderer »

solid wrote: 2022-06-30, 09:01 UTC Yes, I meant disabled by default. I've disabled mine decades ago ;-)

Furthermore, I would like it moved to .ini settings instead of taking valuable space in configuration window.
Hi. You may not like this setting. OK, that's your perogative. Requesting for it to be removed from settings though is like completely removing it from TC. Many users do not search the .ini settings. Not at first at least, so this setting will effectively become non-existent. Personally, I happen to like it so even if its default value is set to False, i vote for it to remain in the settings window.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *Hacker »

petermad,
Well, it will certainly not diminish :D

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *Horst.Epp »

A work-around is using the Everything GUI script which will deliver mixed lists if configured for this.
In the resulting file list TC will display files and dirs mixed if the view is configured for it.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *petermad »

My comment at Wednesday 29-03-2023, 13:13:54 was about the original suggestion to make directory sorting the default - since yet another user couldn't find this option.

Even Explorer sorts folders by date or other columns, so I guess new users are surprised that TC does not do that by default.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *petermad »

And another user couldn't find it: viewtopic.php?t=79206
And another: viewtopic.php?t=79347
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Holraven
Junior Member
Junior Member
Posts: 4
Joined: 2024-01-23, 08:38 UTC

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *Holraven »

I totally agree with this. I've been using TC for over a decade and still missed this when I tried to look through a folder structure for the latest changes...

+H+
User avatar
wanderer
Power Member
Power Member
Posts: 1574
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *wanderer »

Instead of messing with the options, why not just add it in TC's "Show" menu, under "Unsorted"? ->

Code: Select all

...
Unsorted
Sort directory Like Files (checked/unchecked)
Clicking on the "Sort directory Like Files" would put a check in front of it and change the relevant Options setting to "like files". Clicking it again would revert the setting to "always by name". Should be pretty obvious to new users and more user friendly to all.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
JOUBE
Power Member
Power Member
Posts: 1448
Joined: 2004-07-08, 08:58 UTC

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *JOUBE »

ghisler(Author) wrote: 2019-12-06, 16:15 UTC Because it's dangerous to mix up files and folders and delete a folder by mistake?
(2019-12-06)

That's why I'm against it.

There should only be a corresponding checkbox for switching in the Configuration->Options if an entry is created manually in wincmd.ini beforehand, which activates the checkbox itself. So that only these knowledgeable people can see the checkbox itself in the Configuration -> Options. A 2nd factor...

Joube
Last edited by JOUBE on 2024-01-23, 19:08 UTC, edited 3 times in total.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *petermad »

2wanderer
Clicking on the "Sort directory Like Files" would put a check in front of it and change the relevant Options setting to "like files"
Good idea, but the command for that: cm_SwitchDirSort shows a checkmark when used in the menu when "Sort directories like files" is DISABLED, so the menu item needs to be called "Always sort directories by name" instead, to properly reflect the state set with cm_SwitchDirSort
totalcmd.inc wrote:cm_SwitchDirSort=2012;Turn directory sorting by name on/off
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *petermad »

JOUBE wrote: 2024-01-23, 18:51 UTC
ghisler(Author) wrote: 2019-12-06, 16:15 UTC Because it's dangerous to mix up files and folders and delete a folder by mistake?
That's why I'm against it.

There should only be a corresponding checkbox for switching in the Configuration->Options if an entry is created manually in wincmd.ini beforehand, which activates the checkbox itself. So that only these knowledgeable people can see the checkbox itself in the Configuration -> Options. A 2nd factor...

This is topic is NOT about an option to mix up files and folders, it is ONLY about making the option that already exist "Like files (also by time)" the default intead of "Always by name" in the "Display" -> "Sorting directories" setting. Please read the first post again.

I cannot help that some other posters, mixed the ability of mixing up files and folders into this thread
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
JOUBE
Power Member
Power Member
Posts: 1448
Joined: 2004-07-08, 08:58 UTC

Re: Make sorting of directories "Like files (also by time)" the default.

Post by *JOUBE »

petermad wrote: 2024-01-23, 19:08 UTC
JOUBE wrote: 2024-01-23, 18:51 UTC
ghisler(Author) wrote: 2019-12-06, 16:15 UTC Because it's dangerous to mix up files and folders and delete a folder by mistake?
That's why I'm against it.

There should only be a corresponding checkbox for switching in the Configuration->Options if an entry is created manually in wincmd.ini beforehand, which activates the checkbox itself. So that only these knowledgeable people can see the checkbox itself in the Configuration -> Options. A 2nd factor...

This is topic is NOT about an option to mix up files and folders, it is ONLY about making the option that already exist "Like files (also by time)" the default intead of "Always by name" in the "Display" -> "Sorting directories" setting. Please read the first post again.
Oh, sorry, Thank you for this hint! But I will not delete my posting, because that quote of ghisler(author) is important.
Last edited by JOUBE on 2024-01-23, 19:12 UTC, edited 2 times in total.
Post Reply