If you are experiencing problems with "Everything", post here for assistance.
-
Specular
- Posts: 16
- Joined: Sat Dec 27, 2014 5:46 am
Post
by Specular »
So I read the docs and found this section:
Limit the search to a single folder:
I'd like to be able to search only one directory deep. This is the code I'm currently using for an 'Apps' search filter:
Code: Select all
<"C:\Portable Apps\"|"C:\Program Files\"|"C:\Program Files (x86)\"> .exe
However after trying to exclude sub directories deeper than one deep it failed. Tried
!"C:\Program Files\*\*" but it filters out everything.
How can I create a filter that only searches one directory deep?
-
therube
- Posts: 4955
- Joined: Thu Sep 03, 2009 6:48 pm
Post
by therube »
Limit the search to a single folder:
Note that the ! is an ! (exclamation, aka a NOT) not a | ("bar", aka OR).
I'd like to be able to search only one directory deep. This is the code I'm currently using for an 'Apps' search filter:
Code: Select all
<"C:\Portable Apps\"|"C:\Program Files\"|"C:\Program Files (x86)\"> .exe
Try
Code: Select all
<"C:\Portable Apps\"|"C:\Program Files\"|"C:\Program Files (x86)\"> parents:3 .exe
(:3 is probably what you're after [in this case] rather then :2)
-
Specular
- Posts: 16
- Joined: Sat Dec 27, 2014 5:46 am
Post
by Specular »
Ah, the parents: parameter is just what I'm looking for! Cheers