Searching for folders within wildcarded "parent:" string?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
cogi2ergosum
Posts: 3
Joined: Fri May 19, 2017 5:09 pm

Searching for folders within wildcarded "parent:" string?

Post by cogi2ergosum »

The path: specifier works with wildcarded path expressions, i.e. :

Code: Select all

path:"c:\app*" folder:
This gives me a list of subfolders from all folders starting with c:\app.

What I'm trying to do however, is search for a list of sub-folders within multiple parent folders, where the parent folders are determined by a wildcard symbol, but the parent: specifier doesn't seem to work with wildcards.

Is there a way to make something like this go?

Code: Select all

parent:"c:\app*" folder:
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searching for folders within wildcarded "parent:" string?

Post by therube »

Will this do what you're looking for?

Code: Select all

path:c:\app   folder:   parents:2
cogi2ergosum
Posts: 3
Joined: Fri May 19, 2017 5:09 pm

Re: Searching for folders within wildcarded "parent:" string?

Post by cogi2ergosum »

Okay, I think I found a workaround. Since parent: doesn't seem to work with wildcards, I can use instead a combination of path:<pathname_with_wildcards> and parents:<n> to get the intended results.

So given:

c:\test\apple
+- red
+- green

c:\test\app
+- gold master
+- beta

c:\test\nomatch
+- foo
+- bar

The expression path:"c:\test\app*" parents:3 returns the right results

RESULT:
+- gold master
+- beta
+- red
+- green
cogi2ergosum
Posts: 3
Joined: Fri May 19, 2017 5:09 pm

Re: Searching for folders within wildcarded "parent:" string?

Post by cogi2ergosum »

@therube: You beat me to it, but thanks much!
Post Reply