Searching From within File Explorer

by Barry Dysert
(last updated July 11, 2016)

2

I've found File Explorer to be one of the handiest utilities within Windows that there is. I always have at least one File Explorer window open at all times, and often times there are a few on my screen. Once of the nice features of File Explorer is its ability to search for files, and content within files, that are in the current folder. If you have folders that contain hundreds or thousands of files, using File Explorer's search capability will save you a great deal of time. Here is a picture of File Explorer with its search box circled: (See Figure 1.)

Figure 1. File Explorer.

So your current folder is the Projects folder. Let's say you know you wrote a ReadMe.txt file to accompany one of your projects, but you've forgotten which one. Since the File Explorer search is recursive, it can search the entire tree of subdirectories under Projects. Click in the search box (where it says "Search Projects") and start typing (without quotes) "ReadMe.txt". Depending on the size of the Projects tree, it's quite likely that the search will return immediately with the found file highlighted: (See Figure 2.)

Figure 2. Results of a file search.

You can now open the file, edit it, delete it, etc. And you found it much faster than if you would have navigated through all the subdirectories looking for it.

File Explorer's search can also find content within certain types of files. Let's say that you have a ReadMe.txt file associated with each of your programs. However, one of your programs is obsolete and you've indicated that in its ReadMe file. You can search for the word "obsolete" and you'll be immediately taken to the file containing that piece of text.

 This tip (13456) applies to Windows 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Hiding Folders Under This PC

File Explorer is a virtual necessity when it comes to navigating the file system. If you find it a little too verbose, ...

Discover More

Using Batch Files, Part 1

This tip is part of a series that shows you how to create and use Windows batch files. It introduces a few commands and ...

Discover More

AutoRuns

Would you like to have one place to go in order to see what all programs are starting when your system starts or when you ...

Discover More
More WindowsTips

Understanding and Using File Attributes

Every file has several attributes associated with it. These attributes can be turned on or off in a couple of ways and ...

Discover More

Defragmenting a Hard Drive

As files are added, removed, and edited on a hard drive, the files and the disk itself become fragmented. This causes ...

Discover More

Using File History

Backing up your data is an important part of computer management. Enabling File History is a painless way to be able to ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is one more than 6?

2016-07-12 22:22:43

Alex B

Looking inside the files is probably one of the slower search options (and is also the default).

It is often more efficient to use the search keywords to limit the scope ie
filename:
type: ie txt or Text, word or doc
modified:fromdate..todate (also > or <)

PS: for a starting point on this see https://msdn.microsoft.com/en-us/library/aa965711


2016-07-11 09:06:32

Henry Noble

After clicking in the search box, search tools will appear in the ribbon. These are useful for limiting searches to files of a certain type, size, date range, etc.

By default, Windows only indexes files in directories where average users are likely to need to look. However, the readers of these Tips are, by definition, above average and will often need to search entire drives.

To speed searches in non-indexed locations, modify the list of indexed locations to include those directories and drives of importance to you. This is done via the Indexing Options in Control Panel.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.