I would like to exclude specific folders from the search results.
e.g.
search for : some textstring
folders to be excluded:
x:\doc
y:\other doc
z:\last folder
Any suggestions?
thanks
=
How to exclude specific folders when searching?
-
eswul62
- Posts: 167
- Joined: Wed Jul 31, 2013 6:07 am
-
void
- Developer
- Posts: 19904
- Joined: Fri Oct 16, 2009 11:31 pm
Re: How to exclude specific folders when searching?
Code: Select all
!x:\doc\ !"y:\other doc\" !"z:\last folder\" some textstring-
eswul62
- Posts: 167
- Joined: Wed Jul 31, 2013 6:07 am
Re: How to exclude specific folders when searching?
Thanks a lot!
I did look at https://www.voidtools.com/support/everything/searching/
and noticed the ! parameter, but wasn't sure though.
e.g. grouping/not grouping
(also went on to try nopath:)
Ai!
just noticed the examples at the bottom, under examples...
(Limit the search to a single folder)
ahum.
I did look at https://www.voidtools.com/support/everything/searching/
and noticed the ! parameter, but wasn't sure though.
e.g. grouping/not grouping
(also went on to try nopath:)
Ai!
just noticed the examples at the bottom, under examples...
(Limit the search to a single folder)
ahum.
-
WV-Mike
- Posts: 21
- Joined: Sat Oct 28, 2017 2:06 pm
Re: How to exclude specific folders when searching?
I am having a similar problem.void wrote: Fri Oct 03, 2014 8:52 amhttps://www.voidtools.com/support/everything/searching/Code: Select all
!x:\doc\ !"y:\other doc\" !"z:\last folder\" some textstring
I am trying to exclude files in the folder:
C:\Users\WV Mike\Desktop\Geology_tucson_area
And then search for all files which have the word "geology" in them.
This returns no results:
!C:\Users\WV Mike\Desktop\Geology_tucson_area geology
Thanks,
WV-Mike
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: How to exclude specific folders when searching?
Try it with:
Code: Select all
!"C:\Users\WV Mike\Desktop\Geology_tucson_area" geologyEDIT: Replaced all http instances with https
-
WV-Mike
- Posts: 21
- Joined: Sat Oct 28, 2017 2:06 pm
Re: How to exclude specific folders when searching?
Thanks!NotNull wrote: Sun Dec 12, 2021 11:14 pmTry it with:Paths and/or filenames that contain spaces should be enclosed in "" as a <space> character is otherwise seen as an AND statement.Code: Select all
!"C:\Users\WV Mike\Desktop\Geology_tucson_area" geology
EDIT: Replaced all http instances with https
WV-Mike