1

When I search for a keyword "foo" by typing it in the Windows 10 File Explorer search box (top right corner) in a folder it seems to search (correct me if I am wrong please!) within filenames as well as within file contents (for pdf, doc etc.) files.

But in certain cases I would like to only look for files that contain the keyword "foo". Is there an operator etc. that will allow me to do that?

Alternatively, are there any plugins etc. (maybe 3rd party) that can allow such tweaking to the Windows search box?

1

1 Answer 1

2

Use this AQS query:

filename:<filename>

Example:

filename:foo

Note that on non-indexed locations, the file content search is disabled by default.

Reference: "Search file names only, not the contents"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .