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?
18 Answers
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 In the Search box type:
type:="File Folder" name:[enter the folder name here with no brackets] 3 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 /sWindows 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.
1On a german version of Windows 7 you'll need the filter below, because type:folder or the like won't work at all:
typ:=DateiordnerBTW, 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.
Tired of Windows 7 search wonders I use FileSeek It has lots of options: date/size filters, regular expressions, inclusive/exclusive search, etc.
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
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
1This answer is posted as an answer to a question that was closed as a duplicate, Windows Explorer Search for: Folder name BEGINS WITH [Search term], despite the fact that the accepted answer to this question is wrong because the FolderName property of a folder is its parent:
The second answer is closer, but doesn't limit results to names that begin with the desired search term:
To limit results to those names that begin with the desired search string, you have to use the relatively unknown query operator ~<, documented here :
Another useful operator documented on the linked page is ~ (Allow DOS wildcards within quoted strings):
It's useful when you search term contains special characters like parentheses: