Auto view mode change without full path

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Auto view mode change without full path

Post by *Lefteous »

How can I change the view mode automatically when a folder has a certain name without considering the whole path. I tried the following and they didn't work.

1. +*\Ressourcen\*
2. +*\*Ressourcen*\*
3. +*Ressourcen*\*

Any ideas?
User avatar
petermad
Power Member
Power Member
Posts: 16134
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

+*\Ressourcen*\

The field in the Config dialog should show:
*\Ressourcen*

If it is folders named exactly Ressourcen use:
+*\Ressourcen\ (field: *\Ressourcen)

Unfortunately +*\Ressourcen*\ will also apply to the subfoldes, I cannot se a way to avoid that.
Last edited by petermad on 2016-08-03, 16:10 UTC, edited 3 times in total.
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
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Sorry my mistake. It has been a hierarchy problem - nevermind.
It works just as expected.
User avatar
petermad
Power Member
Power Member
Posts: 16134
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I found a way to apply a rule to all folders whose name start with Ressourcen, but not to subfolders hereof:

Directory: *\Ressourcen*
File types: *.*

The rule will show as: +*\Ressourcen*\*.*
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
Post Reply