do not search in specific folders

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Marcus23
Posts: 1
Joined: Thu Oct 06, 2022 5:11 pm

do not search in specific folders

Post by Marcus23 »

How can I make the search to search all subfolders of a disk for files but not in folders that have a specific name?
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: do not search in specific folders

Post by therube »

If you want a directory \DELTACAD\, but not directories named \sonny\ that are within:
\DELTACAD !\sonny

or
\DELTACAD !\DELTACAD\sonny

or if you never wanted
\DELTACAD\sonny
to turn up - at all, you could exclude that in;
Tools | Options | Indexes -> Exclude
.

The ! is a NOT operator, so NOT within \sonny or NOT within \DELTACAD\sonny.
(Depending on your particular needs, \sonny may be fine, or for more refinement, "exactness", \DELTACAD\sonny.)
Post Reply