Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 18755

Eng :: TC9: View Modes Sort Order - Sort Directories Like Files?

$
0
0
Author: Rob Weinstein
Subject: TC9: View Modes Sort Order - Sort Directories Like Files?
Posted: Thu Jun 23, 2016 1:23 pm (GMT -6)

Using TC9 beta 3.

Is it possible to setup a View Mode to sort directories like files and override the default sort directories always by name?

I want to set up a View Mode in a certain folder where the files AND directories are sorted by date (descending). For example, this is what I want in a folder defined in Auto Switch Mode:
Code:
c:\TC_test\Special_Folder\

   c_folder\    <DIR>   03/03/2016 03:33a
   b_folder\    <DIR>   02/02/2015 02:22a
   a_folder\    <DIR>   01/01/2014 01:11a
   c_file.txt       8   03/03/2016 03:33a
   b_file.txt       8   02/02/2015 02:22a
   a_file.txt       8   01/01/2014 01:11a


This is how I want every other folder to sort when I sort by date (descending):
Code:
c:\TC_test\Normal_Folders\

a_folder\   <DIR>   01/01/2014 01:11a
b_folder\   <DIR>   02/02/2015 02:22a
c_folder\   <DIR>   03/03/2016 03:33a
c_file.txt      8   03/03/2016 03:33a
b_file.txt      8   02/02/2015 02:22a
a_file.txt      8   01/01/2014 01:13a


To summarize:
In the Auto Switch folder I want sort directories like files.
In every other folder I want sort directories always by name.

I tried to set it up but the View Mode won't override the Sorting Directories configuration. Here's an excerpt from my wincmd.ini:
Code:
[Configuration]
...
SortDirsByName=1

[ViewModeSwitch]
Enabled=1
...
2_rules=+C:\TC_test\Special_Folder\*\
2_mode=2

[ViewModes]
...
2_name=Sort Folders
2_icon=
2_options=-1|3|1||-1|-1|-1


Thanks,

-Rob


Viewing all articles
Browse latest Browse all 18755

Trending Articles