View Full Version : Folder filter
chrisjj
05-Feb-2008, 12:32 PM
How to include just folders anywhere, named f?
Just putting "...\f" (Help: "f may have zero or more parent folders.") in Include folders: includes many parent folders having no matching children.
Thanks.
Craig
05-Feb-2008, 12:33 PM
Use ".\...\f"
chrisjj
17-Feb-2008, 07:42 PM
Could you tell me how that form (not mentioned in Help) differs in function from the offical one?
Aaron
18-Feb-2008, 10:54 AM
The help file should be updated to reflect this, but ... does not work well when it is the very first entry. That is why making it base (.\...\folder) or having another folder in front (name\...\folder) helps.
chrisjj
18-Feb-2008, 11:38 AM
Thank, but I'd really like a solution with defined behaviour! "Does not work well" and "better" are not useful. Can you tell me what the defined behaviour of the proposed workaround actually is? Thanks.
Aaron
18-Feb-2008, 12:34 PM
./f looks for a folder in the base folder that is f.
the ... command will look in the current and any sub folders.
.\...\f explicitly makes a starting location the base folder, and any sub folders of the base folder.
...\f alone should have an implied .\ in front of it, but that is not how it currently behaves.
The current solution is to put an implicit .\ in front of ... when you intend for it to match on the base folder, and any sub folders.
chrisjj
18-Feb-2008, 12:50 PM
> .\...\f explicitly makes a starting location the base folder, and
> any sub folders of the base folder.
Thanks.
> ...\f alone should have an implied .\ in front of it, but that is not how it currently behaves.
Noted.
chrisjj
20-Feb-2008, 11:34 AM
> .\...\f explicitly makes a starting location the base folder,
This is working fine for my application - thanks Aaron.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.