File Explorer has (as we all know) a search box in the top right, ofcourse we can enter some text and File Explorer will search for filenames with that text and text within files, but there are more options to tailor our search.
See Common File Kinds.
Let’s look at some examples
File name search
If we prefix our search term with file: like this
file: MyFile file:.sln
Then we only get search results for all files with the text as part of the filename or file extension.
File content search
If we prefix our search term with content: like this
content: SomeContent
Then we only get search results from within files (i.e. text search).
Kind
We can use the kind option along with file type, such as text, music etc. See Common File Kinds.
kind:text
The above list all text files.
Other file options
We can also use the following, other file options, for example finding
datemodified:lastweek modified:lastweek modified:05/10/2022 size:>500
The first two options are the same and list files modified last week. The size option lists files with a size larger than 500 bytes.
See also File Kind: Everything.
Boolean Operators
As you can see we can also use Boolean Operators.