Searching for folders within wildcarded "parent:" string?

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

Searching for folders within wildcarded "parent:" string?

Postby cogi2ergosum » Fri May 19, 2017 5:36 pm

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: 1669
Joined: Thu Sep 03, 2009 6:48 pm

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

Postby therube » Fri May 19, 2017 7:41 pm

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?

Postby cogi2ergosum » Fri May 19, 2017 7:59 pm

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?

Postby cogi2ergosum » Fri May 19, 2017 7:59 pm

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


Return to “Support”