[help] a simple search prompt that doesn't work ..

Discussion related to "Everything" 1.5 Alpha.
Post Reply
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

[help] a simple search prompt that doesn't work ..

Post by asamirid »

greetings ..

i know this is a very basic search, but i can't figure out the wrong i do to fix it

i want to find pdf files that is not in the folder "SAMBoXxz"

i use this search string_
*.pdf !sambox
_to achieve this task

but pdf files in the SAMBoXxz folder still appears in the results as in the image

image_2023-04-07_000445516.png
image_2023-04-07_000445516.png (30.48 KiB) Viewed 867 times

what exactly i do wrong here ?? please explain 👀..
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: [help] a simple search prompt that doesn't work ..

Post by void »

Everything is looking for sambox in the name only (not the full path)

Please try the following search:

*.pdf !\sambox
-or-
*.pdf !path:sambox



\sambox will look for \sambox anywhere in the full path.
The \ will force Everything to match the full path instead of just the name.

path: will also force Everything to match the full path.
sambox can appear anywhere in the full path.



To always match the full path, enable Match Path from the Search menu.
With Match Path enabled, your *.pdf !sambox search will work as expected.
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

Re: [help] a simple search prompt that doesn't work ..

Post by asamirid »

thank you void for this explanation..

now i understand why it wasn't work and what should i do in the future ..

thumb up 👍👍..
Post Reply