Finding multiple file extensions

G

Guest

I'm using Vista and am unable to figure out how to find a set of files that
have certain file extensions. In XP, I would search a folder and type:

*.exe;*.txt;*.whatever

to find all files with those extensions in a folder. How do I do this in
Vista?

Thanks for the help!
 
D

Dave Wood [MS]

You are looking for files that are either .exe, or .txt etc? Use the OR
keyword {in capitals} to search for files matching any one term in the
search box:

*.exe OR *.txt OR *.whatever
 
K

Keith Miller \(MVP\)

Here are some:

http://msdn2.microsoft.com/en-us/library/bb266512.aspx

http://www.microsoft.com/windows/desktopsearch/addresources/advanced.mspx

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

Lots of repetition among the three articles. But not much about '=' and
more importantly, '~'

If you were searching for filenames with parentheses in the name, the
following don't give accurate results:

name:"*(*)*"
name:="*(*)*"

you need to use:

name:~"*(*)*"



--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



KeithHoward said:
in the Search box, use:

="*.xls"

--
Good Luck,

Keith
Microsoft MVP [Windows Shell/User]



KeithHoward said:
When you search for *.xls, you also get *.xlsx files. This is not the
end of the world, because you can sort by the Type column and easily
view a list of all *.xls files. However, if you have hundreds of
thousands of both, it would be helpful just to see the *.xls files.

Is this possible?
Sweet. Thank you Keith.

- Keith

P.S. Is there a documentation link on these neat little tricks like =
and OR? All the best.
 

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