Hi,
I'm trying to get below directory structure shown to me in the mentioned sort order by using 'Auto Switch Mode'. That is all (sub-)directories sorted on Name and the files in the bottom directory sorted on Date.
I tried using several rules and wildcards but I cannot get the files in the bottom directory to be sorted on Date and all directories above that to be sorted on Name.
I tried this :
4_rules=D|&+E:\GC Info\*\
4_mode=5
5_rules=D|&+E:\GC Info\*\*\
5_mode=5
6_rules=D|&+E:\GC Info\*\*\*\
6_mode=5
7_rules=D|&+E:\GC Info\*\*\*\*\*.pdf *.jpg * .gif
7_mode=6
Can someone please give me the correct rule syntax to achieve this.
Thanks for your time!
E:\GC Info\ ----------------Sort DIRS on Name Ascending
E:\GC Info\A - K\ ----------------Sort DIRS on Name Ascending
E:\GC Info\L - S\ ----------------Sort DIRS on Name Ascending
E:\GC Info\T - Z\ ----------------Sort DIRS on Name Ascending
E:\GC Info\T - Z\Y\ ----------------Sort DIRS on Name Ascending
E:\GC Info\T - Z\Y\A\ ----------------Sort DIRS on Name Ascending
E:\GC Info\T - Z\Y\B\ ----------------Sort DIRS on Name Ascending
E:\GC Info\T - Z\Y\C\ ----------------Sort DIRS on Name Ascending
E:\GC Info\T - Z\Y\C\file3.pdf ----------------Sort all FILES on Date Descending
E:\GC Info\T - Z\Y\C\file2.pdf ----------------Sort all FILES on Date Descending
E:\GC Info\T - Z\Y\C\file8.jpg ----------------Sort all FILES on Date Descending
E:\GC Info\T - Z\Y\C\file1.gif ----------------Sort all FILES on Date Descending
Struggling to get 'Auto Switch Mode' configured properly
Moderators: Hacker, petermad, Stefan2, white
Struggling to get 'Auto Switch Mode' configured properly
----------------------------------------------
Happy user since 1996 (License #5977)
Happy user since 1996 (License #5977)
Re: Struggling to get 'Auto Switch Mode' configured properly
Try this in your wincmd.ini file:
Just change the 1_ and the 0_ to match you case
Code: Select all
[ViewModes]
1_name=DateTimeSort
1_icon=
1_commands=*|cm_SrcByName 1
1_options=-1|3|1||-1|-1|-1
Code: Select all
[ViewModeSwitch]
Enabled=1
0_rules=+E:\GC Info\*\*\*\*\*
0_mode=1
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Struggling to get 'Auto Switch Mode' configured properly
Hi Petermad, it works like a charm 
I'll have a look at the autorun-commands, missed that at first.
Thanks !

I'll have a look at the autorun-commands, missed that at first.
Thanks !
----------------------------------------------
Happy user since 1996 (License #5977)
Happy user since 1996 (License #5977)