Searching From within File Explorer

Written by Barry Dysert (last updated June 29, 2020)

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. One 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

How the Registry is Organized

There may come a time when you need to view or even modify the registry. In such a case, it's good to know how the ...

Discover More

Backing Up Your Files

Performing regular backups of your system offers you peace of mind because you don't have to worry about data loss in the ...

Discover More

Scheduling a Program to Run on a Schedule

If you have certain programs that you want to have run automatically, you can use Windows Task Scheduler to quickly set ...

Discover More
More WindowsTips

Changing User Permissions for a File

All objects on your computer (e.g., files) have permissions that allow or deny various types of access. This tip shows ...

Discover More

Creating a List of Files in a Directory

Do you need a list of all the files in a directory? It's easy to create if you use the proper command-line commands.

Discover More

Creating a System Repair Disk on a USB Flash Drive

Having a system repair disk is almost as important as doing regular backups. CDs and DVDs, though, tend to get scratched ...

Discover More
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}] (all 7 characters, in the sequence shown) 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 2 + 2?

2020-07-04 09:47:37

Alex B

For filenames, I always use
• filename:readme.txt
It runs much faster
For date range selection
• modified:dd/mm/yyyy..dd/mm/yyyy
Use your regional date format that is the one in Australia.
The “..” is the equivalent of “to”, and selection is between the 2 dates.

These work in SharePoint as well, were you might also use Title: & Author:

Note: wildcards work

(The bullet points are not part of the syntax)
additional ref: https://docs.microsoft.com/en-us/windows/win32/lwef/-search-2x-wds-aqsreference


2020-06-29 07:04:13

Tony

It would be really useful to have some tips on using the latest search facilities which I believe are new to the Windows 2004 update. Things like how you can search just in filenames rather than file content


Newest Tips