TC doesn't filter folders using search template

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

TC doesn't filter folders using search template

Post by *MVV »

1. Press Ctrl+F12 and type in:

Code: Select all

|1*
You will see that TC now hides files with names like 1*.

2. Press Alt+F7, type in same mask and save template. Then apply saved template as filter using Ctrl+F12. Files 1* are hidden now.

3. Add new button to button bar and type a command:

Code: Select all

cd |1*
Press a button - TC will apply filter. Files 1* are hidden now.


Now modify filter like this:

Code: Select all

|1*\
And try to repeat steps 1-3 using new filter. Only 1 works, 2 and 3 don't hide folders (3 even doesn't change filter). Is it bug or non-realized feature?
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

History.txt wrote:07.02.06 Added: Include/Exclude certain directories in the current file list using the "Show" - "Custom" filter, e.g. *.* | *\ hides all dirs (for a file window used with tree view). Not working with "Define" button.
Is it bug or non-realized feature?
At least it is a documented behavior. :wink:

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed this is by design. Wildcards for folders in stored searches do NOT prevent TC from finding them, they just prevent that TC continues the search inside of these folders.
Author of Total Commander
https://www.ghisler.com
Post Reply