It looks like Explorer search treats quotation marks like Google search's exact match where a search for "foo bar" ignores results like "bar the foo" so you only get results like "the foo bar."
But having hyphens like
foo-bar confuses it.
For example, in a folder with these contents:
Filename-only search does not work correctly:
Nor does contents-only search:
How can I use Windows Explorer search to behave consistently? Abandon it for the Command Prompt?