Windows Search for exact filename and extension only

If you want to match only filenames and not file contents, you can qualify the search with name: like:

name:Windows.h

If you want an exact filename match, you can qualify the search with name:= like:

name:=Windows.h

If you need to search for specific files, which includes special characters, such as (, ), spaces and numbers in between, then you'll need to tilde + quote it.

For example, this is a wildcard search for all duplicated filenames, with any extension, that Windows has added (0-9) before the dot:

~"* (?).*"

enter image description here

Note that ? will catch any single character, not just a digit, so above example will also find files/directories that have a space + any single character between parentheses + dot. For example: My Directory (A). with a dot.