Path and depth modifier query not isolating specific folder contents

General discussion related to "Everything".
Post Reply
sk2107
Posts: 385
Joined: Sun Aug 07, 2022 8:48 pm

Path and depth modifier query not isolating specific folder contents

Post by sk2107 »

Hello,

I am trying to list only the contents directly inside the folder R:\F\, but the standard search syntax is not returning the expected results.

When I query r:\f\ depth:1, the results window is completely blank.

When I query r:\f\ depth:2, it displays the contents of R:\F\, but the depth modifier appears to be calculating relative to the drive root rather than the specified folder path.

Attempting infolder:"R:\F" or parent:r:\f\ also does not isolate the contents correctly.

I have attached screenshots of my search bar behavior. Could you please advise on the correct syntax or check if a global setting/modifier might be interfering with how path depth is being calculated?

Everything_Q0000002351.jpg
Everything_Q0000002351.jpg (26.49 KiB) Viewed 93 times
Everything_A0000002353.jpg
Everything_A0000002353.jpg (22.63 KiB) Viewed 93 times
Everything_70000002352.jpg
Everything_70000002352.jpg (11.36 KiB) Viewed 93 times
thank you
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: Path and depth modifier query not isolating specific folder contents

Post by therube »

Try,
parent:R:\F
.
sk2107
Posts: 385
Joined: Sun Aug 07, 2022 8:48 pm

Re: Path and depth modifier query not isolating specific folder contents

Post by sk2107 »

unfortunately it did not work, it lists the folder inside
image.png
image.png (22.04 KiB) Viewed 75 times
I want to list this part only
image.png
image.png (135.11 KiB) Viewed 75 times
Thank you
void
Developer
Posts: 19830
Joined: Fri Oct 16, 2009 11:31 pm

Re: Path and depth modifier query not isolating specific folder contents

Post by void »

I am trying to list only the contents directly inside the folder R:\F\, but the standard search syntax is not returning the expected results.
R:\F\*

-or-
parent:R:\F



unfortunately it did not work, it lists the folder inside
I'm confused, isn't this what you want?
Do you want files only? (eg: no folders)
Could you please give an example of an expected result.


I want to list this part only
Please try:

whole:R:\F


whole: matches the whole filename.



depth: is absolute, not relative to the specified path.
If you want relative depths, use parent+depth1:<path>

parent-depth1:
sk2107
Posts: 385
Joined: Sun Aug 07, 2022 8:48 pm

Re: Path and depth modifier query not isolating specific folder contents

Post by sk2107 »

So great thank you

Best Regards
Post Reply