Saving a Windows Search

Written by Barry Dysert (last updated May 1, 2017)

2

The Search feature built into Windows Explorer and File Explorer can be a good way to find files that contain a given string or files with names that contain a particular string. If you perform the same search frequently, you can save the search to improve your efficiency. For example, say that I want to locate all the XLSX (Excel) files on my system. I would display the Windows Explorer or File Explorer window, type XLSX in the search box in the upper-right corner of the window, and press Enter. Now, the Explorer window contains the file names that match my search string. (See Figure 1.)

Figure 1. The results of a Windows search.

To save this search for subsequent reuse, click the Save Search button (circled above in red). A "Save As" dialog box appears to prompt you for the name and/or location of your saved search (usually, accepting the defaults is OK). When you're satisfied with the name and location of your saved search, click the Save button. (See Figure 2.)

Figure 2. Saving a search.

Note that searches are saved in a special file that uses a very long filename extension: .search-ms. When you later want to perform the same search on the files in the directory, the .search-ms file is key. All you need to do is double-click the saved search file (the .search-ms file) and Windows Explorer will launch and take you to the results of the search.

 This tip (12877) applies to Windows 7, 8, and 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

Viewing Event Logs

Event logs are automatically maintained by the operating system. By periodically viewing them, you'll have a better idea ...

Discover More

Running a Program as Administrator

Sometimes a program you're trying to run needs to run with elevated privileges. Assuming you have the authority to do ...

Discover More

Everything

If you want to be able to find any file on your hard disk in just seconds, Everything is a utility you'll find ...

Discover More
More WindowsTips

Customizing the Explorer's File List Display

Windows Explorer is a powerful utility to use for navigating among your files and folders. And it can be customized a ...

Discover More

Getting Rid of Old Windows Updates

Microsoft is constantly updating Windows for various reasons. For most people, those updates are downloaded and installed ...

Discover More

Checking a Disk Drive for Free Space

Keeping track of your resources can help you avoid serious computer problems. Having an adequate amount of disk space is ...

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 four minus 0?

2017-05-02 02:26:24

Barry

I don't think you can save the results. You have to run the saved search again.


2017-05-01 16:45:13

Bill F

Is there any way to save or export the search results rather than the search criteria?
Thanks.


Newest Tips