How do I search for a file by its contents instead of remembering its name?
Quick answer
In Windows File Explorer, open a folder that could contain the file and search for distinctive words from its contents. By default, the search covers that folder and its child folders; you can adjust the scope. If the file does not appear, check whether its location is indexed and whether its file type is set to include content, not just properties. Newly built indexes can take time to finish. [S1] [S2]
The question, the details, the next step.
A practical checklist
Search for distinctive words from the file’s contents.
Start in a likely folder and expand the search scope when needed.
Narrow crowded results by date modified, kind, or size.
Check whether the location is indexed and the file type includes content.
Allow time for a newly created index to finish.
A few more useful answers
Can I search only the folder I opened?
File Explorer searches that folder and its child folders by default. Search options can narrow results to the current folder or include all folders beneath it. [S2]
Why might a filename search work when a content search does not?
Windows can index names and properties separately from file contents. For Classic indexing, check Advanced > File Types to see whether the type is indexed by properties only or by properties and content. [S1]
Does an empty result mean the file is gone?
No. The folder may be outside the search scope, the location may not be indexed, the file type may not have content indexing enabled, or a new index may still be building. The cited information does not guarantee that every file’s contents are searchable. [S1]
Sources
References used for this guide.
- [S1] Search indexing in Windows support.microsoft.com · Checked
- [S2] Find what you need with Microsoft Search support.microsoft.com · Checked
