Exclude folders from results?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burma
Posts: 10
Joined: Tue Jan 29, 2013 8:07 pm

Exclude folders from results?

Post by burma »

I know how to Add Filter in the Options dialog, but is there a way to exclude folders directly in the search box?

So for example, I have this in search box:

*.doc* | *.xl* !*.lnk

which will search for Word and Excel files but will leave out shortcut (.lnk) files. But it also returns a bunch of folders which I'd also like to exclude.

I tried !folder: but that didn't work. Thanks
void
Developer
Posts: 15336
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude folders from results?

Post by void »

Thanks for reporting this, it looks like a bug.

!folder: should work, but the space after !folder: is not breaking the terms.

I am looking into it...
burma
Posts: 10
Joined: Tue Jan 29, 2013 8:07 pm

Re: Exclude folders from results?

Post by burma »

void wrote:Thanks for reporting this, it looks like a bug.

!folder: should work, but the space after !folder: is not breaking the terms.

I am looking into it...
I just upgraded to 1.3.0.632b.

*.doc* | *.xl* !*.lnk !folder: now works for me.

This doesn't work though and I'm not sure if it should: !folder: *.doc* | *.xl* !*.lnk
void
Developer
Posts: 15336
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude folders from results?

Post by void »

Yes, !folder: will only work if it comes last, otherwise it will eat all the other terms.
FullHouse3
Posts: 1
Joined: Thu Jan 31, 2013 5:51 pm

Re: Exclude folders from results?

Post by FullHouse3 »

burma wrote:
void wrote: *.doc* | *.xl* !*.lnk !folder: now works for me.

This doesn't work though and I'm not sure if it should: !folder: *.doc* | *.xl* !*.lnk

By adding the pointed brackets, ie: <!folder:>
the clause can be placed anywhere without problem.

To eliminate the hassle of having to type the extra brackets, add a filter for <!folder:>.

eg: nfld: for no folders.

BTW, I must say Everything is by far the most helpful tool I've ever used in the Windows environment.
Thank you.
vurtikas
Posts: 36
Joined: Fri Jan 08, 2010 11:28 am

Re: Exclude folders from results?

Post by vurtikas »

Hi!
I added to exclude folders list filter ?:\$Recycle.Bin\* to exclude Recycle on all drives from search result.
Why this do not work?
void
Developer
Posts: 15336
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude folders from results?

Post by void »

I added to exclude folders list filter ?:\$Recycle.Bin\* to exclude Recycle on all drives from search result.
Why this do not work?
This is a bug, thanks for reporting it.
Wildcard in paths will not work with the current beta.

You will have to add C:\$Recycle.Bin, D:\$Recycle.Bin, E:\$Recycle.Bin...etc

I have fixed this issue for the next beta release.
Post Reply