Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I search for multiple files in a particular directory

02 Feb 2012   #11
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

Quote   Quote: Originally Posted by cincihal View Post
I did as I Lemur suggested, I opened up My Documents and in the search box in the upper right, typed *.doc And *.txt, checking first to make sure there were actually some of those files types in that directory first. the result was "No items match your search".
Please look at my attached example. Note in the search box, I specified *.txt OR *.docx. I did not use the AND. Here is why. AND means one file would have to satisfy both requirements. OR means it just has to satisfy one of the requirements. Does that make sense?




Attached Images
How do I search for multiple files in a particular directory-capture.jpg 
My System SpecsSystem Spec
.
02 Feb 2012   #12
DeaconFrost

Windows 7 Ultimate x64 SP1
 
 

The concept of these boolean searches shouldn't be foreign to anyone by now. Google uses them for web searches.
My System SpecsSystem Spec
02 Feb 2012   #13
cincihal

windows 7 64bit
 
 

That worked. Thanks!
My System SpecsSystem Spec
.

02 Feb 2012   #14
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

Excellent. Boolean logic can be your friend
My System SpecsSystem Spec
02 Feb 2012   #15
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by cincihal View Post
It looks like there are differing opinions on this subject and I will have to say that the Windows 7 search utility is not as intuitive as some seem to think. I did as I Lemur suggested, I opened up My Documents and in the search box in the upper right, typed *.doc And *.txt, checking first to make sure there were actually some of those files types in that directory first. the result was "No items match your search".
This is due to an error in search string. Boolean AND means both search criteria must be true, and because a file only has one extension, search can not find anything.

Correct syntax is *.doc OR *.txt

How do I search for multiple files in a particular directory-search_boolean_or.png

This search finds all files with extension .doc OR extension .txt.

Same search can also be done using search parameter ext:xxx, where xxx is the extension searched. Syntax for this search would be ext:doc OR ext:txt:

How do I search for multiple files in a particular directory-search_boolean_or_2.png

Kari

EDIT: Too late, fellow geeks were faster...


My System SpecsSystem Spec
02 Feb 2012   #16
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

Quote   Quote: Originally Posted by Kari View Post
EDIT: Too late, fellow geeks were faster...
I resemble that remark
My System SpecsSystem Spec
Reply

 How do I search for multiple files in a particular directory




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
select/search multiple files, copy and paste to a new folder
I have a list of 1000 files names. Need to find them in one folder which has 5000+ files in it. Any possible way to highlight those files from my list so I can copy paste to a new folder?
General Discussion
select/search multiple files from a list, copy and paste to new folder
I have a list of 1000 files names (photo files) from clients and need to find them in one folder which has 10000+ files in it.And my clients files list do not have the full photo name (only a part of file name, eg: the file name in my local disk is "403817-QTX0022-30763812_Q10Photo.jpeg" and name...
General Discussion
search multiple files, copy+paste to new folder (batch file software?)
I am a complete newbie when it comes to batch files and batch file software, so apologies in advance. I've done some research on Google etc but I seem to just be getting more and more confused trying to use various different scripts and programs and reading different info on various websites. ...
General Discussion
Windows 7 search files and folders vs Outlook 2007 search
Hello, Can someone tell me some specifics and pinpoint the differences (or maybe a good website) that would pinpoint the differences between the Windows 7 search and the outlook 2007 search? I know the outlook search searches through email but are there other difference I am overlooking between...
General Discussion
Replace files in multiple directory, from a single directory
I have a 10 files that have all been categorised into about 40 folders. These files have been damaged. I have a backup of all these files, but they are not categorised and sit in a single directory. Does anyone know of an easy technique to batch replace the damaged files with the originals? ...
General Discussion
How to search across a particular part of the directory tree?
Hi How dow I do a search across just a particular part of the directory tree? ...For: a) A filename search b) Text search In WindowsXP I could go to the directory in question and right-click and get to search from that location. But how the HECK do we do something similar
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:34.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App