Help... search weirdness

J

John

Vista home premium with the updrade

I'm looking for folders whose name has the word "game" in them. If I
search using the word game it shows no folders or files with the word
game in them. If I search using the word gam (without the e) it shows
many folders and files with the word game in them with along with, of
course, a whole bunch of other junk with just gam.

This is true using regular search or advanced.

I'm wondering if others would get the same results. Or... what's the
answer to this.

thanks

John
 
R

Retroman

Vista home premium with the updrade

I'm looking for folders whose name has the word "game" in them. If I
search using the word game it shows no folders or files with the word
game in them. If I search using the word gam (without the e) it shows
many folders and files with the word game in them with along with, of
course, a whole bunch of other junk with just gam.

This is true using regular search or advanced.

I'm wondering if others would get the same results. Or... what's the
answer to this.

Hello John,

There's nothing weird about what you see. Normally, a search in Windows Desktop
Search 4 searches by word prefix only. To force WDS to search for a string that
appears anywhere within folder names, use this syntax:

kind:folder AND ~"*game*"

or:

kind:folder +~"*game*"

or simply:

kind:folder ~"*game*"

All three are equivalent and will return folders whose name contains "game". Their
sub folders will also be returned, regardless of name, when the option "Include sub
folders when typing in the search box" is enabled. The tilde character tells WDS to
use the asterisk as a wild card, even though it is within quotes.

Doug M. in NJ
 
J

John

Retroman said:
Hello John,

There's nothing weird about what you see. Normally, a search in Windows Desktop
Search 4 searches by word prefix only. To force WDS to search for a string that
appears anywhere within folder names, use this syntax:

kind:folder AND ~"*game*"

or:

kind:folder +~"*game*"

or simply:

kind:folder ~"*game*"

All three are equivalent and will return folders whose name contains "game". Their
sub folders will also be returned, regardless of name, when the option "Include sub
folders when typing in the search box" is enabled. The tilde character tells WDS to
use the asterisk as a wild card, even though it is within quotes.

Doug M. in NJ
Thanks... where would I find instructions about all of that?
thanks again

John
 
R

Retroman

Thanks... where would I find instructions about all of that?

You're welcome, John.

Basic syntax is shown in the Vista help screen "Tips for finding
files". Morel details are found in these Microsoft WDS 4 pages:

http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx
http://www.microsoft.com/windows/products/winfamily/desktopsearch/choose/tipsandtricks.mspx

That said, I have yet to find a WDS reference that is complete and comprehensive. The
trick of using the tilde character came from a forum post.

Doug M. in NJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top