Searching (indexing) certain folders

General discussion related to "Everything".
Post Reply
givegood
Posts: 3
Joined: Fri Jan 05, 2018 7:37 pm

Searching (indexing) certain folders

Post by givegood »

I have two drives, C and D. I want Everything to search only one folder, say, D:\Work\.
I can exclude C:\, but I am not sure how I can exclude all other folders in D drive but for \Work\.

Also, under NTFS tab, C and D drives are both checked and I cannot remove them because as "remove" button is greyed out, resulting in duplicate results. Maybe this has something to do with above?

I think I used to be able to set up Everything to do this, but I might have changed some settings. I cannot figure out how to do that now. I'm using ver 1.4.1.877. Thank you.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Searching (indexing) certain folders

Post by Stamimail »

You need to use only NTFS tab in Options.
1. Select C drive in the Box
2. Disable "Include in database"
3. Select D drive in the Box
4. Insert in "Include Only:" D:\Work
givegood
Posts: 3
Joined: Fri Jan 05, 2018 7:37 pm

Re: Searching (indexing) certain folders

Post by givegood »

Stamimail wrote:You need to use only NTFS tab in Options.
1. Select C drive in the Box
2. Disable "Include in database"
3. Select D drive in the Box
4. Insert in "Include Only:" D:\Work
It worked, thank you!
Then if I want to include multiple folders, what keyword do I need to insert in "Include Only:"?
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Searching (indexing) certain folders

Post by Stamimail »

Look at its tooltip. You need to use semi-colon as delimiter.

@void
semi-colon is a valid character for foldername. :?:
and another idea for selecting/diselecting Drives/Folders for indexing can be like this.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Searching (indexing) certain folders

Post by NotNull »

Stamimail wrote:Look at its tooltip. You need to use semi-colon as delimiter.
semi-colon is a valid character for foldername.
Not tested, but I expect "c:\foldername;with;semicolon";"c:\other;folder" to work (enclose foldernames in "" )
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Searching (indexing) certain folders

Post by Stamimail »

NotNull wrote:
Stamimail wrote:Look at its tooltip. You need to use semi-colon as delimiter.
semi-colon is a valid character for foldername.
Not tested, but I expect "c:\foldername;with;semicolon";"c:\other;folder" to work (enclose foldernames in "" )
I tested it before posting, it didn't work for some reason. :|
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Searching (indexing) certain folders

Post by NotNull »

Thanks for testing! :)

you're right: doesn't work. It doesn't accept "" foldernames at all (like "c:\windows").
Then I'm all out of suggestions.
Maybe in a future version of Everything....
givegood
Posts: 3
Joined: Fri Jan 05, 2018 7:37 pm

Re: Searching (indexing) certain folders

Post by givegood »

I just tested, and using semicolon without "" worked, just like D:\A;D:\B.
Thank you for the tips!
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching (indexing) certain folders

Post by void »

Added to my TODO list: support quotes (") to escape ; for folder lists.
Post Reply