syntax for boolean algebra

General discussion related to "Everything".
Post Reply
uncleBob
Posts: 12
Joined: Fri Jan 20, 2023 11:05 pm

syntax for boolean algebra

Post by uncleBob »

I am using Version 1.5.0.1335a (x64).

I have many Excel and Word files named like this.

C:\customers\OH\ #12345 (Joe) history.doc
C:\customers\OH\ #1344 (Sam) parts.xlss
C:\customers\PA\ #2222 (Ralph) ohms.doc
C:\customers\NY\ #9543 (Sam) orders.xlss
C:\customers\OH\ #19344 (BILL) contacts.doc
C:\customers\OH\ #22282 (Sam) history.doc
C:\customers\NY\ #443543 (Sam) history.doc

12345 is the customer Number. Joe, Sam etc are account managers)
There are 10 account managers that cover 20 states and 100 customers.

What is the syntax to show all files where Folder has (NY OR CN OR MN OR PA OR OH) and Name has (Jane OR Joe OR Sam OR Ralph OR Mary OR June)

If the solution requires using CODE: SELECT ALL please give me detailed instructions because I can't figure out how to use that option.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: syntax for boolean algebra

Post by void »

Please try the following search:

C:\customers\ parentname:<NY|CN|MN|PA|OH> Jane|Joe|Sam|Ralph|Mary|June


C:\customers\ == limit your results to files/folders under: C:\customers
parentname: == match parent name part.
< > == subexpression for parentname:
| == OR
space == AND
Post Reply