Page 1 of 1

Excluding one folder (+ subfolders thereof) from search

Posted: Sun Sep 01, 2019 10:47 pm
by frable-pa
I'd like to do a search that lists any folder or file not within, say, C:\Windows.

If this has been covered elsewhere, point me to where it is. Thanks.

--BF

Re: Excluding one folder (+ subfolders thereof) from search

Posted: Sun Sep 01, 2019 10:56 pm
by NotNull
add
!c:\windows
to your search query. ("!" means NOT; see the Everything Search Syntax for that information and a *lot* more useful search tips)

If the folder you want to exclude contains spaces -like c:\Program Files - enclose the foldername in "" :
!"c:\Program Files"