Saving Search Queries

Written by Barry Dysert (last updated January 21, 2019)

Tanya often uses the searching capabilities in Windows Explorer to locate different types of files on her system. Some of the searches can get a little complex. She notes that it would really save time if there was a way to save her search queries so she didn't have to always type them in again.

If you find yourself frequently using the Windows Explorer search box to perform common searches, you'll be glad to discover that you can save them. For example, say that I often look for files in my "VS2010 Projects" library. I may perform a search such as the one shown below. (See Figure 1.)

Figure 1. A search example.

To save this search, click the "Save search" link above the left pane in Windows Explorer. Windows displays the Save As dialog box. (See Figure 2.)

Figure 2. Saving a search.

Modify what is in the File Name box to provide a descriptive name for your search. When you click on the Save button, the search is saved on your system and appears as one of your Favorites. It also is stored under your home directory in the Searches folder. Simply clicking the search in Windows Explorer will immediately re-execute the search.

So far in this tip I've explained how, specifically, to save your searches in Windows 7. In Windows 8 you can save searches in much the same way. The major difference is that the new File Explorer displays a Search tab when you click in the Search box. This tab includes a tool that allows your search to be saved, just as in Windows 7. (See Figure 3.)

Figure 3. Saving a search in Windows 8.

If you don't want to use Windows' built-in capabilities to save your searches, remember that you can always save your searches in a text file. All you need to do is open a Notepad document and copy anything in the Search box into the document. (Just put the insertion point in the Search box, press Ctrl+A to select the entire search, then press Ctrl+C to copy it to the Clipboard. Switch to the Notepad document and press Ctrl+V.) When you later want to use the search, then reverse the direction of the copy and paste operation, pasting it into the Search box and initiating the search.

Why would you want to copy your searches to a text file? Simple—it makes it easier to transport those searches to a different Windows system than your own.

 This tip (12307) applies to Windows 7 and 8.

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

Clearing Your Jump Lists

Ever since their introduction in Windows 7, I've found Jump lists to be great timesavers. Some people have privacy ...

Discover More

Determining If a Drive Should be Defragmented

Disk fragmentation is one of those things which, if severe, can adversely affect your system's performance. This tip ...

Discover More

Searching From within File Explorer

Searching from within File Explorer is a quick and easy way to find files and even content within files. This tip shows ...

Discover More
More WindowsTips

Using Windows Easy Transfer

If you ever want to copy user accounts, documents, pictures, etc., from one computer to another, you'll find that Windows ...

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

Showing File Extensions

All file types have an extension, and Microsoft hides them by default. Learn how to turn file extensions on.

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 6 + 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips