Multiple queries with OR function

General discussion related to "Everything".
Post Reply
filipeteles
Posts: 18
Joined: Thu Mar 24, 2016 9:53 am

Multiple queries with OR function

Post by filipeteles »

Is it possible to make multiple queries into one (similar to what Foobar2000 has with the OR argument).

For instance:

"what" OR "this" * .wav

Would search for queries that end with .wav and that contain either "what" or "this".
Last edited by filipeteles on Sat May 27, 2017 4:28 am, edited 1 time in total.
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Multiple queries with OR function

Post by void »

Use the OR operator: |

For example, to search for what OR this *.wav, search for:
what|this *.wav

Note: If you are using Everything 1.3 you will have to use < and > to group your OR terms, for example:
<what|this> *.wav

If you would like to use the literal OR operator, please enable literal search operators:
  • In Everything, from the Tools menu, click Options.
  • Click the Search tab on the left.
  • Check Allow literal operators.
With literal search operators enabled, you can search for:
what OR this *.wav
Would search for queries that end with .wav and that contain either "what" or "this".
Yes.
filipeteles
Posts: 18
Joined: Thu Mar 24, 2016 9:53 am

Re: Multiple queries with OR function

Post by filipeteles »

void wrote:Use the OR operator: |

For example, to search for what OR this *.wav, search for:
what|this *.wav

Note: If you are using Everything 1.3 you will have to use < and > to group your OR terms, for example:
<what|this> *.wav

If you would like to use the literal OR operator, please enable literal search operators:
  • In Everything, from the Tools menu, click Options.
  • Click the Search tab on the left.
  • Check Allow literal operators.
With literal search operators enabled, you can search for:
what OR this *.wav
Would search for queries that end with .wav and that contain either "what" or "this".
Yes.
Thanks! What is I want to search in a specific folder.

Like:

Folder\ <what|this> *.wav
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Multiple queries with OR function

Post by void »

To search in a specific folder, simply type that folder, for example, to find files in c:\windows, search for:
c:\windows\

Use double quotes to escape spaces, for example:
"c:\program files\"


Use the full path, for example:
c:\folder\subfolder\ <what|this> *.wav

Or, Use the partial path, for example:
\music <what|this> *.wav
Post Reply