93

I've had some issues with the new search function in Windows 7. The Search in Windows XP was packed with so many more options. The only option I can access now are Date Modified and Size.

Any pointers to how to get more options in the Windows 7 Search, or links to external programs that can make my life easier?

1

7 Answers 7

108

From the Windows Search Advanced Query Syntax page, use the following search items:

To restrict by file type    Use            Example
------------------------    ---            -------
Folders                     folders        kind:folders
Folder name                 foldername     foldername:mydocs
9
  • 2
    Now I see, maybe the Windows 7 search is a bit better suited for search than the Windows XP version =)
    – sshow
    Mar 5, 2010 at 14:11
  • @sshow - you should say thanks to snark by up voting the answer. +1 from me Mar 5, 2010 at 14:56
  • 5
    foldername is not correct. It searches for files and folders inside of folders of a certain name.
    – Zombo
    Nov 23, 2014 at 21:26
  • 5
    kind:folders (or kind:folder) finds folders, but also collection files like *.CAB and *.ZIP.  To find only true folders, use type:folder. Nov 17, 2015 at 2:10
  • 4
    BTW this works only for the English versions of Windows, for other languages you need to use the translated key word (whatever it may be), yeah, it sucks. Oct 21, 2016 at 1:18
32

In the Search box type:

type:="File Folder" name:[enter the folder name here with no brackets]
3
  • this is the best answer. you can also put , e.g. name:*middle
    – adudley
    Feb 25, 2016 at 10:21
  • 2
    type:"File Folder" (without the equals sign) works as well. Aug 5, 2018 at 20:18
  • How can I find only empty folders ? And/Or folders whose size is less than 100 or 10 KB ?
    – Vicky Dev
    Jan 26 at 7:54
16

I understand that you are asking specifically for windows-search based answers, but here is an alternate method in case it is helpful.

Open up the windows command prompt and navigate to the directory from which you want to start searching and use the following command:

dir *SEARCH_TERM* /ad /s

Windows Search just makes me howl with rage for a few minutes before I give up and just do the same search from the command prompt instead.

1
  • 3
    Very fast and good solution. :) But I prefer to add /b for single line output. ;)
    – CSchulz
    Aug 16, 2013 at 15:19
5

On a german version of Windows 7 you'll need the filter below, because type:folder or the like won't work at all:

typ:=Dateiordner

BTW, if you press Win+F, the searchbox will offer at least a tiny bit of assistance below the box and clicking on its blue links will trigger selection widgets.

2

Tired of Windows 7 search wonders I use FileSeek http://www.fileseek.ca It has lots of options: date/size filters, regular expressions, inclusive/exclusive search, etc.

2

In cmd.exe CLI, go to the folder you want to search from, then dir /ad /b /s "search-string"

Please note that it must be cmd.exe, as I found it is an issue when using PowerShell with that command

0

If you have a French Windows 7 none of the above phrases works. You need a plus sign between the key words (+)

type:="Dossier de fichiers" + nom: [input the folder name, without the brackets. Add a space after : character]

Example: type:="Dossier de fichiers" + nom: Bozo Abc

1
  • 1
    (1) I appreciate the fact that the French version of Microsoft Windows requires certain commands and keywords to be entered in French.  But please write the narrative / descriptive part of your answer in English.  The user isn’t actually supposed to type “tapez le nom de votre dossier, sans les parenthèses. Tapez un espace après nom”, are they?  (2) If you are copying this answer from somewhere, you should say where.
    – Scott
    Nov 1, 2018 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.