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

Starting Windows 10 in Safe Mode

Hopefully you'll never find yourself in a situation where you need to restart your computer in Safe Mode. If you do, ...

Discover More

Mapping a Network Drive

You can create a mapping relationship between a network folder and a drive letter so that it's easy to access the folder ...

Discover More

Controlling the Mouse Pointer Speed

One of the personalization settings you can control is how fast the cursor moves when you move your mouse. You can ...

Discover More
More WindowsTips

Opening a File with a Program Other than the Default

Windows determines a program to use with a particular file based on the file's type. If you want to temporarily override ...

Discover More

What are the Limits on File Names?

It's good to know what the limits are when naming files, although in most cases the limits are sufficiently high that ...

Discover More

Quick Rename of Files in Bulk

Renaming a large set of files one file at a time can be time consuming and tedious. Windows allows for you to quickly ...

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 one less than 2?

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