I want to find all files which match door*.ino on drive D: OR cube*.ino on drive C:
Why doesn't the following work please:
door*.ino d: | cube*.ino c:
What's wrong with this search?
Re: What's wrong with this search?
Using the default Everything setting, OR is "stronger" than AND.
( D: OR cube*.ino ) AND door* AND c:
Subtitled: search all files that are on D: or are named cube*.ini
From the results, only use the ones that are on C: (that will undo the D: search)
The remaining results (cube*.ino) should also match door*.ino (and that will likely result in 0 matches)
You can use command grouping (see the Search Help page) to influence the order:
Alternatively, you can mae AND "stronger" than OR, by changing the Operator precedence (under Menu:Tools > Options > Search
For your search this will mean:
( D: OR cube*.ino ) AND door* AND c:
Subtitled: search all files that are on D: or are named cube*.ini
From the results, only use the ones that are on C: (that will undo the D: search)
The remaining results (cube*.ino) should also match door*.ino (and that will likely result in 0 matches)
You can use command grouping (see the Search Help page) to influence the order:
Code: Select all
<door*.ino d:> | <cube*.ino c:>
Alternatively, you can mae AND "stronger" than OR, by changing the Operator precedence (under Menu:Tools > Options > Search
Re: What's wrong with this search?
Thanks NotNull, understood. Forgot about grouping.