Excluding folders and files in Start menu searches

by Mitch Tulloch [Published on 20 June 2012 / Last Updated on 20 June 2012]

A tip on how to exclude specific folders or the file store in your Start menu searches.

When you click Start and type something into the search box, the results that Windows 7 may display can include programs, control menu items, documents, pictures, music, OneNote pages, and more.  This can be annoying.  Is there a way you can exclude things like documents from your searches?

Yes, for example you can exclude documents in a specific folder by appending the following to your search string:

-folderpath:foldername

You can also exclude multiple folders this way.

Another thing you can do is limit your search results to the file store, for example to not show files in email, by appending the following:

*.docx -folderpath:foldername store:file

Mitch Tulloch is a seven-time recipient of the Microsoft Most Valuable Professional (MVP) award and widely recognized expert on Windows administration, deployment and virtualization. For more tips by Mitch you can follow him on Twitter or friend him on Facebook.

     

 

See Also

Featured Links