Sort folders by Date?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
kunkel321
Junior Member
Junior Member
Posts: 18
Joined: 2012-06-18, 21:36 UTC
Location: United States

Sort folders by Date?

Post by *kunkel321 »

Hi, It is possible to sort files by date if I click on the TabStop Bar, on "Date." When I do this, I would like all sub-folders to also be sorted, Folders sorted by date, then under that, files sorted by date... Is his possible? Thanks.
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Configuration->Options...->Display->Sorting directories->Like files
Windows 7 Pro x64, Windows 10 Pro x64
kunkel321
Junior Member
Junior Member
Posts: 18
Joined: 2012-06-18, 21:36 UTC
Location: United States

Post by *kunkel321 »

umbra wrote:Configuration->Options...->Display->Sorting directories->Like files
Thanks Umbra.
bobputnam
Junior Member
Junior Member
Posts: 77
Joined: 2003-05-26, 12:31 UTC
Location: Connecticut, USA

Post by *bobputnam »

Or make a button with cm_SwitchDirSort, which will toggle the directory-sort on and off.
Bob P
3-User License 71012
kunkel321
Junior Member
Junior Member
Posts: 18
Joined: 2012-06-18, 21:36 UTC
Location: United States

Post by *kunkel321 »

bobputnam wrote:Or make a button with cm_SwitchDirSort, which will toggle the directory-sort on and off.
Good to know. Thanks.
User avatar
schmock
Member
Member
Posts: 154
Joined: 2009-03-18, 01:50 UTC

Re: Sort folders by Date?

Post by *schmock »

is there an option to sort folders by date, when pressing the date tab,
but automatically switch back to folders sorted by name after you leave the current directory?
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sort folders by Date?

Post by *petermad »

2schmock
First set sorting of directories like files - https://madsenworld.dk/tcmd/sordirslikefiles.png

Then define a View Mode ("Folders") that automatically sets sorting by name *cm_SrcByName - https://madsenworld.dk/tcmd/autosortfolderbyname1.png

Then define a Auto Switch Mode for folders (here with drive letter for USB harddisk, USB stick, Harddisk/SSD og CD/DVD) and assign the "Folders" View Mode to it - https://madsenworld.dk/tcmd/autosortfolderbyname2.png
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
schmock
Member
Member
Posts: 154
Joined: 2009-03-18, 01:50 UTC

Re: Sort folders by Date?

Post by *schmock »

working, thanks for the perfect instruction!
User avatar
schmock
Member
Member
Posts: 154
Joined: 2009-03-18, 01:50 UTC

Re: Sort folders by Date?

Post by *schmock »

hm, not 100%.
i have some locked tabs with different directories.
they are sorted by names ascending, but when i click in a subfolder and the new tab opens, its always sorted by names descending now??

and actually i wanted to keep everything sorted by date and the folders sorted by name. only when i press the date tab, also the folders should be sorted by date..
now with this in every directory the files are of course sorted by name also.. wasnt quite the plan.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sort folders by Date?

Post by *petermad »

I think you have to make a special View Mode + Auto Switch Mode for those specific folders, and remember to put it before the L1235 rule in the Auto Switch Mode setup.

The Auto run command for the View Mode for those folders should be: *cm_SrcByName 2 - to force ascending order.

and actually i wanted to keep everything sorted by date and the folders sorted by name. only when i press the date tab, also the folders should be sorted by date..
That is not doable, but you can make a button with the command cm_SwitchDirSort to switch folder sorting between name sorting and the same sorting as the files (according to the tabheader).
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
Post Reply