I’ve been using Directory Opus for a little bit and wanted to suggest an improvement.
When searching for files in folders or drives, I’d like the ability to use AND/OR operators directly in the Name field, similar to how it works in Windows Explorer. In Explorer, I can simply type something like "invoice OR report" to search for either term, but in Directory Opus, I have to change filters each time, which can be a bit time-consuming for more complex searches.
Would it be possible to include a feature that allows us to use operators like OR or AND in the name field during searches? This would make quick searches much more intuitive and save time for users like me who need to search for multiple terms at once.
How are you doing your search?
If using the search field in a toolbar:
If you set it to use the Windows search engine: the syntax you mentioned is working
If you set it to use everything instead, the syntax is slightly different, the OR operator is |,
which means that searching for invoice OR report can be made by using invoice|report as the name you search.
And if you're using the FAYT find (enabled by typing * and that only looks into what is displayed in the current folder and the expanded subfolders), the syntax is: (invoice|report) which is mentioned in the tooltip that appears when clicking the small button with the 3 squares that is just before the place where you type your search expression.
Thanks for that. Didnt think of the search field up at the right, I only thought about the lower search field. But the lower search field doesnt support AND or OR operators when that "Windows search" is selected.
The Find Files panel is Opus's own search functionality. (It can also use Windows Search etc. as a starting point and refine things from there, but most of it is unrelated to Windows Search or its syntax.)
If you want AND and OR with the Find Files panel, you can do any of the following:
Form the appropriate wildcard or regex. E.g. *.(jpg|png) will match jpg or png files.
Or turn on Any Word mode and use:
Words prefixed with + must match (in any order).
Words prefixed with - must not match.
Words without + or - may match, and at least one must match if any are specified.
Or turn on the Advanced mode checkbox and build up a query there using more advanced logic/nesting.
Which is also the same thing as entering invoice OR report into the Search Field when it's in Windows Search mode.
(Doing it Hardkorn's way means you don't have to have the Search Field taking up space, since the Find-As-You-Type field appears and hides itself automatically when you start typing or stop using it.)