Custom Filter

Discussion related to "Everything" 1.5.
Mantua
Posts: 3
Joined: Thu Oct 05, 2023 4:51 pm

Custom Filter

Post by Mantua »

Hello,

Is it possible to create a filter that identifies folders and specific file extensions simultaneously?

Example:
I'm organizing video across various drives that all have Hawaii in the name. I've created a directory structure that is

Hawaii
Hawaii_2000
Hawaii_2001
Hawaii_2009
Hawaii_2014
etc.....

I'd like to see all video files and folders ONLY when I search Hawaii in a single window.

Thanks
therube
Posts: 5755
Joined: Thu Sep 03, 2009 6:48 pm

Re: Custom Filter

Post by therube »

Something like,
hawaii video: path:
.
Mantua
Posts: 3
Joined: Thu Oct 05, 2023 4:51 pm

Re: Custom Filter

Post by Mantua »

therube wrote: Thu Oct 05, 2023 5:51 pm Something like,
hawaii video: path:
.
Thanks, but that returns video only.
And I know I'll eventually forget working parameters which is why I'm trying to create a permanent custom filter.
therube
Posts: 5755
Joined: Thu Sep 03, 2009 6:48 pm

Re: Custom Filter

Post by therube »

So what you're looking to find all the files, of any type, within "hawaii" ?

If so, just leave out video:
If you want video & some other extensions only, then do that,
hawaii video: path: ext:m3u;pls;srt


And that very search can be set as a Filter (just the way it is).
void
Developer
Posts: 20049
Joined: Fri Oct 16, 2009 11:31 pm

Re: Custom Filter

Post by void »

Is it possible to create a filter that identifies folders and specific file extensions simultaneously?
To create a filter to search folders and specific file extensions:
  • In Everything, from the Search menu, click Add to filters.
  • Change the Name to: Folders and Videos
  • Change the Search to: folder: | ext:mkv;mp4;avi
    (add more extensions as needed, instead of ext:mkv;mp4;avi you can use video: )
  • Click OK.

| = OR
Mantua
Posts: 3
Joined: Thu Oct 05, 2023 4:51 pm

Re: Custom Filter

Post by Mantua »

void wrote: Thu Oct 05, 2023 9:11 pm
Is it possible to create a filter that identifies folders and specific file extensions simultaneously?
To create a filter to search folders and specific file extensions:
  • In Everything, from the Search menu, click Add to filters.
  • Change the Name to: Folders and Videos
  • Change the Search to: folder: | ext:mkv;mp4;avi
    (add more extensions as needed, instead of ext:mkv;mp4;avi you can use video: )
  • Click OK.
Thank you.

I didn't use a pipe to separate the Search values on my previous attempts.
To think something so simple was hindering me. #detailsareimportant
cmdrstriker
Posts: 1
Joined: Sat Jul 11, 2026 5:33 pm

PSA for Anyone Creating Custom Filters

Post by cmdrstriker »

If your custom filter keeps returning **0 results**, check whether **Regex** is enabled.

I spent quite a while trying different search expressions like:

`ext:cbz;cbr`

and

`*.cbz | *.cbr`

Nothing worked—until I realized **Regex** was turned on.

When **Regex** is enabled, Everything treats your search as a regular expression instead of a normal wildcard search. If you're simply trying to filter by file extensions, turn **Regex** off and use a standard wildcard search, for example:

`*.cbz | *.cbr | *.cb7 | *.cbt`

As soon as I disabled **Regex**, my custom filter worked immediately.

Hopefully this saves someone else the same frustration.
NotNull
Posts: 5977
Joined: Wed May 24, 2017 9:22 pm

Re: PSA for Anyone Creating Custom Filters

Post by NotNull »

cmdrstriker wrote: Sat Jul 11, 2026 5:36 pm If your custom filter keeps returning **0 results**, check whether **Regex** is enabled.
Or more general: check the right side of the status bar. These settings (Match Path, Regex, eytc) will be shown there when activated.