[Solved] Change "Image Files" global power filter so that it will also allow directories

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
John_C
Posts: 336
Joined: 16 May 2018 20:04

[Solved] Change "Image Files" global power filter so that it will also allow directories

Post by John_C »

I want to change the "Image Files" global power filter so that it will also show me any directories, not just image files.

I have tried to change it from

Code: Select all

"Image|Image Files" {:Image}
to

Code: Select all

"Image|Image Files" {:Image} || attr: d
"Image|Image Files" {:Image} | attr: d

and the same without spaces:
"Image|Image Files" {:Image}||attr:d
"Image|Image Files" {:Image}|attr:d
but this seems doesn't work. There probably another way to do it.

How to make this work?
Last edited by John_C on 19 Jul 2022 00:40, edited 1 time in total.

admin
Site Admin
Posts: 65220
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Change "Image Files" global power filter so that it will also allow directories

Post by admin »

Precede the pattern with \| to let pass all folders:

Code: Select all

"Image|Image Files" \|{:Image}
* * *

FYI, a general solution for all Visual Filters is to tick Configuration | Find and Filter | Filters & Type Ahead Find | Visual Filters and Live Filter Box | Apply to files only.


Post Reply