Excluding one folder (+ subfolders thereof) from search

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
frable-pa
Posts: 1
Joined: Sun Sep 01, 2019 10:41 pm

Excluding one folder (+ subfolders thereof) from search

Post by frable-pa » Sun Sep 01, 2019 10:47 pm

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

NotNull
Posts: 1448
Joined: Wed May 24, 2017 9:22 pm

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

Post by NotNull » Sun Sep 01, 2019 10:56 pm

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"

Post Reply