Follow this link:
http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx
[EDIT: Moved to http://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx
]
This should be included in Help and Support.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I am looking for it everywhere but I can't find it.
When in Windows search and you are looking for a file, you can type in *.txt to look for a '.txt' file.
But it seems that the syntax of file name to look seems more complex that it looks first.
For instance, the quote character (") and the equal sign (=) seem to have there own significance.
And I think I have heard that it was possible to use 'not' and 'and ' signs.
Please, where can I find the complete syntax of the search paterns?
Thank you a lot
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Follow this link:
http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx
[EDIT: Moved to http://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx
]
This should be included in Help and Support.
Your solution does work.
Good to hear.
I think that a search engine for text contents should be a completely different beast from a file name search engine. After all, it is a quite different task.
In what way is it a completely different beast? You are trying to find files fitting a certain pattern, which you use as criteria for a search. That pattern might be
or any combination of these, and so on. Why should this not all be handled by a single function designed to filter results by the criteria given? W7 allows you to specify around 300 different attributes for a file, so it should be possible to craft a search that will find whatever you're looking for. Windows Search is immensely powerful.
Noel
Noel, my apologies. Your solution does work. I overlooked the "file:" bit. I guess I was still expecting the old simple search method, excluding content.
Actually, I think that a search engine for text contents should be a completely different beast from a file name search engine. After all, it is a quite different task.
If you don't prefix the search string with an attribute and a colon, Search will look for the search string in all file properties and file contents (depending on your settings). If you want to find only files with the search string in the file name, you have to use a prefix like file: to restrict the search to file names only.
If this is what you were doing and the search was not restricted to file names, there's something different in your settings from mine, where
file:"~"
finds only files whose name starts with a tilde.
These are my basic settings:
Noel
Noel - your solution is not correct. "~" finds EVERY file and folder in Windows 7 Pro Windows Explorer. That was and still is my problem.