How to exclude all the files inside a folder from indexing but not the folder itself

General discussion related to "Everything".
Post Reply
Typhlosion24
Posts: 2
Joined: Wed Apr 17, 2024 5:09 pm

How to exclude all the files inside a folder from indexing but not the folder itself

Post by Typhlosion24 »

There are several folders whose contents I want to exclude from indexing since I never search for the files inside them.
However, I sometimes want to search for the name of the folder itself.

For example, I want all the files inside the following path to not be indexed:
c:\Users\Typhlosion24\AppData\Roaming\Oculus\

However, I do want the index to register that there's a folder named "Oculus" so when I search for "Oculus", the folder shows up.
NotNull
Posts: 5270
Joined: Wed May 24, 2017 9:22 pm

Re: How to exclude all the files inside a folder from indexing but not the folder itself

Post by NotNull »

- Menu => Tools => Options => Indexes => Exclude
- Exclude Folders : Filter =
c:\Users\Typhlosion24\AppData\Roaming\Oculus\*

- Exclude files : =
c:\Users\Typhlosion24\AppData\Roaming\Oculus\*
Post Reply