Search Filter - Exclude Drive Not Working

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
thomk
Posts: 2
Joined: Fri Dec 06, 2019 1:36 pm

Search Filter - Exclude Drive Not Working

Post by thomk »

Greetings,

First off - I do NOT want to EXCLUDE a drive from indexing.

I have a search filter set up and I'm trying to exclude a drive from the results of that one filter.

In the "Edit Filter" dialog only "Match diacritics" is checked and I have the following under Search:

!j:|ext:3g2|folder:

I abridged the extensions, but the intent is that the filter should exclude J:\ results and only show files with the extensions listed and folder objects.

Any help would be appreciated!

Thank you,
T.K.
therube
Posts: 4610
Joined: Thu Sep 03, 2009 6:48 pm

Re: Search Filter - Exclude Drive Not Working

Post by therube »

(I'm not quite sure what you're looking to get, but...)

Try:

Code: Select all

!j:  <ext:3g2 | folder:>
That would return all files with 3g2 extension and all folders.
If you wanted all folders that included 3g2 in their names, that would be different.


Note that results with OR's can depend on precedence setting; Tools | Options | General -> Settings --> Operator precedence:
thomk
Posts: 2
Joined: Fri Dec 06, 2019 1:36 pm

Re: Search Filter - Exclude Drive Not Working

Post by thomk »

Thank you very much!

That is exactly what I was looking for: For one particular search filter, exclude one specific drive.

The < > was what I was missing.

Thank you again!!
Post Reply