Always limit search to specified folders

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
SeekerFY
Posts: 1
Joined: Fri Aug 20, 2021 2:39 am

Always limit search to specified folders

Post by SeekerFY »

By default, every single file and folder is searched which is not what I want. I want to specify a few select folders, and always limit search to those folders only. How can I do this?

I tried going to Indexes -> Exclude, adding C drive as an excluded folder, and then going back and adding the folders I want to search under Indexes -> Folders. This doesn't work, it still excludes every single folder.
Mizufluffy
Posts: 62
Joined: Sun Jun 13, 2021 10:22 am

Re: Always limit search to specified folders

Post by Mizufluffy »

Easiest way to do this would most likely to follow the steps below. First disable NTFS volumes from the index. Then add the folders you want. You don't need to exclude anything unless it is a subfolder in your added folders.

Options > Indexes > NTFS:
Try to remove the drives you can. Those that you can't remove uncheck "Include in database". Also, uncheck "Automatically include..." at the top.
2021-08-20 09_08_31-Everything Options.jpg
2021-08-20 09_08_31-Everything Options.jpg (80.45 KiB) Viewed 4269 times

Options > Indexes > Folders:
Add only the specific folders you want to add. In this case "C:\temp" has been added.
There is no need to specifically exclude something unless it is under something that is included. For example, if I've included "C:\temp" and I had directory "C:\temp\excludeThis" then I could add that to the excluded list. Otherwise you can just include what you want.
2021-08-20 09_09_20-Everything Options.jpg
2021-08-20 09_09_20-Everything Options.jpg (68.46 KiB) Viewed 4269 times

Here's an example of the results. I have set results to be empty when search is empty so the search term * is used to include everything in the index.
2021-08-20 09_21_49-_ - Everything.jpg
2021-08-20 09_21_49-_ - Everything.jpg (78.24 KiB) Viewed 4269 times
horst.epp
Posts: 1451
Joined: Fri Apr 04, 2014 3:24 pm

Re: Always limit search to specified folders

Post by horst.epp »

Create a filter or edit the Everything filter and add something like this to search for
c:\temp |c:\documents
Post Reply