Exclude Folder / Include Subfolder

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Kitty13
Posts: 4
Joined: Mon Jun 04, 2018 11:30 pm

Exclude Folder / Include Subfolder

Post by Kitty13 » Mon Jun 04, 2018 11:44 pm

All -

I know that people have posted about this topic, but it seems that none of those posts had an answer applicable to my situation.

a) I would like to exclude the following folder from my search results:
C:\Program Files (x86)\

b) However, I would like to include the following subfolder in my search results:
C:\Program Files (x86)\TradeStation 9.5\MyWork\Kitty\

In Everything Version 1.4.0.713b (x64) I was able to exclude (a) and include (b) and get results from (b).

I installed Everything Version 1.4.0.713b (x64) on a new machine, but if I exclude (a), I can't get any results from (b) no matter what I do. Would you please help? Thank you!

Stamimail
Posts: 692
Joined: Sat Aug 31, 2013 9:05 pm

Re: Exclude Folder / Include Subfolder

Post by Stamimail » Tue Jun 05, 2018 9:19 am

viewtopic.php?f=4&t=6732#p21197
try to use Options > Indexes > NTFS >
Include only: _____________

and let us know... :)

Kitty13
Posts: 4
Joined: Mon Jun 04, 2018 11:30 pm

Re: Exclude Folder / Include Subfolder

Post by Kitty13 » Tue Jun 05, 2018 4:10 pm

Thank you for your kind reply, Stamimail.

I tried your suggestion, but it did not work - perhaps I did not try it correctly. Also, I read the thread that you linked, but the thread was confusing and I was not able to get anything to work.

In the end I did what I probably should have done all along; I installed the old version, and it works well. Thank you again.

NotNull
Posts: 1284
Joined: Wed May 24, 2017 9:22 pm

Re: Exclude Folder / Include Subfolder

Post by NotNull » Tue Jun 05, 2018 7:36 pm

Kitty13 wrote: In the end I did what I probably should have done all along; I installed the old version, and it works well. Thank you again.
Could you tell us how you configured this older version to get this working? We all might learn from that.

Another way that to configure this, is to exclude your Program Files (x86) folder under Menu:Tools > Options > Indexes > Exclude and include the C:\Program Files (x86)\TradeStation 9.5\MyWork\Kitty\ folder under Folder Indexing (don't forget to configure an updte schedule)

That should work with any recent version of Everything.
Last edited by NotNull on Tue Jun 05, 2018 8:15 pm, edited 1 time in total.

Kitty13
Posts: 4
Joined: Mon Jun 04, 2018 11:30 pm

Re: Exclude Folder / Include Subfolder

Post by Kitty13 » Tue Jun 05, 2018 7:46 pm

Sure, NotNull. First, thank you for your suggestion. I have filed it away in case I am ever forced to update.

In Version 1.4.0.713b (x64):

a) Tools / Options / Indexes / Exclude: C:\Program Files (x86)
Only thing is I can't remember whether I browsed to the folder or I added the file path as a filter.

b) Tools / Options / Indexes / Folders / Add: C:\Program Files (x86)\TradeStation 9.5\MyWork\Kitty\
I've checked "Attempt to monitor changes" and set to "Update every 6 Hours". Not sure that the preceding checks even matter.

NotNull
Posts: 1284
Joined: Wed May 24, 2017 9:22 pm

Re: Exclude Folder / Include Subfolder

Post by NotNull » Tue Jun 05, 2018 8:13 pm

Thanks for replying!
That's exactly what I suggested (were it not that I made a mistake and typed NTFS instead of Exclude :shock: I've edited my original post to hide this blunder :P )

Anyway ...
Kitty13 wrote: [..]
Only thing is I can't remember whether I browsed to the folder or I added the file path as a filter.
[..]
I've checked "Attempt to monitor changes" and set to "Update every 6 Hours". Not sure that the preceding checks even matter.
- Use path instead of folder
- Your folder settings are perfectly fine (the Attempt to monitor changes and Update every 6 hours). If there is a lot of activity (changes) in this folder, you could shorten the 6 hours to - for example - 10 minutes.

Stamimail
Posts: 692
Joined: Sat Aug 31, 2013 9:05 pm

Re: Exclude Folder / Include Subfolder

Post by Stamimail » Tue Jun 05, 2018 9:11 pm

I think it should be an easy way to do it with NTFS indexing :!:

void
Site Admin
Posts: 4758
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Folder / Include Subfolder

Post by void » Thu Jun 07, 2018 1:09 am

Another way that to configure this, is to exclude your Program Files (x86) folder under Menu:Tools > Options > Indexes > Exclude and include the C:\Program Files (x86)\TradeStation 9.5\MyWork\Kitty\ folder under Folder Indexing (don't forget to configure an updte schedule)
Good thinking, unfortunately, the folder index will still be excluded.

One way to do this is to modify your Everything filter:
  • In Everything, from the Search menu, click Organize filters.
  • Select your Everything filter and click Edit....
  • Change the Search to: !"c:\program files (x86)\"|"C:\Program Files (x86)\TradeStation 9.5\MyWork\Kitty\"
  • Click OK.
  • Click OK.

void
Site Admin
Posts: 4758
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Folder / Include Subfolder

Post by void » Thu Jun 07, 2018 5:32 am

-or-

Please try the following exclude filter:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Click Add Filter....
  • Set the filter to the following and click OK:
    regex:^c:\\program files (x86)\\(?!TradeStation 9.5(\\MyWork(\\Kitty)?)?$)
  • Change Exclude files to:
    regex:^c:\\program files (x86)\\[^\\]*$;regex:^c:\\program files (x86)\\TradeStation\\[^\\]*$;regex:^c:\\program files (x86)\\TradeStation\\MyWork\\[^\\]*$
  • Click OK.

Kitty13
Posts: 4
Joined: Mon Jun 04, 2018 11:30 pm

Re: Exclude Folder / Include Subfolder

Post by Kitty13 » Thu Jun 07, 2018 8:23 pm

Thank you so much for all of your considered replies.

NotNull
Posts: 1284
Joined: Wed May 24, 2017 9:22 pm

Re: Exclude Folder / Include Subfolder

Post by NotNull » Sat Jun 09, 2018 6:18 pm

void wrote: Good thinking, unfortunately, the folder index will still be excluded.
Oops! :oops: That was actually some bad thinking ... Must have been the heat over here, frying both my braincells. (still trying to deny my stupidity :))

Post Reply