File list results include parent directories

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
ettb
Posts: 14
Joined: Mon Sep 14, 2020 3:28 pm

File list results include parent directories

Post by ettb »

I am trying to create a file list which only contains a few files. Unfortunately search results within this file list also include the parent directories which I didn't add to the file list. Is this expected behaviour?

Quick example demonstrating the observed behaviour:

- Create new file list containing only the file "C:\Windows\System32\calc.exe"
- File -> Open file list
- Everything lists "C:", "System32", "Windows" and "calc.exe"

Specifically I want to be able to search within a file list using the SDK via the search term "filelistfilename:MyFilelist.efu <searchterm>" and not receive parent folders that have not been added to the file list.

Thanks!
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: File list results include parent directories

Post by NotNull »

Yes, that is expected behaviour. Take a look at this discussion for some background.

You could add file: to your search query to limit the results to, well, only files.
ettb
Posts: 14
Joined: Mon Sep 14, 2020 3:28 pm

Re: File list results include parent directories

Post by ettb »

Thank you!
Post Reply