how do i exclude folders from my search?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
BigDan
Posts: 51
Joined: Tue May 23, 2017 9:24 pm

how do i exclude folders from my search?

Post by BigDan »

i'd like to exclude a folder or a parent folder. how do i do so?
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: how do i exclude folders from my search?

Post by void »

Please try the NOT operator: !

For example, to exclude: C:\Windows from your results:

!C:\Windows\


To exclude C:\Program files from your results:

!"c:\program files\"

Note the double quotes to escape spaces.
jsampson45
Posts: 17
Joined: Mon Sep 21, 2015 8:32 pm

Re: how do i exclude folders from my search?

Post by jsampson45 »

I wanted to find files with "hepm" in the name,but not in the folder FileHistory. So I typed "hepm !G:\FileHistory". This found nothing. "hepm" by itself found all the files with "hepm" in the name, as expected. So exactly how does one use the NOT operator?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: how do i exclude folders from my search?

Post by NotNull »

Code: Select all

 hepm !"G:\FleHistory\"
jsampson45
Posts: 17
Joined: Mon Sep 21, 2015 8:32 pm

Re: how do i exclude folders from my search?

Post by jsampson45 »

Thanks, but this also finds nothing.
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: how do i exclude folders from my search?

Post by void »

Please try the following search:

hepm !g:\filehistory\


-If the folder is different to the above and contains a space, please escape the space with double quotes:
For example:
hepm !"g:\file history\"

Please make sure regex is uncheck under the Search menu.
jsampson45
Posts: 17
Joined: Mon Sep 21, 2015 8:32 pm

Re: how do i exclude folders from my search?

Post by jsampson45 »

Many thanks. It seems to be working now.
Post Reply