Solved How do I search for multiple files in a particular directory

cincihal

New member
Local time
10:44 AM
Messages
10
With windows 7 I don't seem to be able to find an advanced search option like XP has. I am trying to bring up multiple file types in a certain directory. In other words, in the programx directory, I want to find all files with the extension .aaa, .bbb, and .ccc. How do I do this in Windows 7?
 

My Computer My Computer

At a glance

windows 7 64bit
OS
windows 7 64bit

My Computer My Computer

At a glance

Windows 7 Ultimate SP1 - 64 BitIntel Core i5 2500k2x4GB DDR3 1333HzAti Radeon 6770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Novatech iRush Pro
OS
Windows 7 Ultimate SP1 - 64 Bit
CPU
Intel Core i5 2500k
Motherboard
Foxconn H67M-S/H67M-V/H67
Memory
2x4GB DDR3 1333Hz
Graphics Card(s)
Ati Radeon 6770
Sound Card
None
Monitor(s) Displays
Samsung S22B150
Screen Resolution
1920x1080
Hard Drives
2x500GB
PSU
500W
Cooling
Fan
Keyboard
HP KU0316
Mouse
Wireless Logitech M185
Internet Speed
20MB/s
Antivirus
Avast Free
Browser
Google Chrome
Other Info
Logitech M185 Mouse
KU-M316 Keyboard
No need for an install. We can just use boolean logic (AND, OR). For instance, if I want to find all bat and txt files, I can use: "*.bat AND *.txt" without the quotes.
 

My Computer My Computer

At a glance

Systems 1 and 2: Windows 7 Enterprise x64, Wi...System 1: i7 [email protected], System 2: AMD FX-41...System 1: 8GB System 2: 8GBSystem 1: ATI FirePro V4800 System 2: Radeon ...
Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
You definitely don't need to mess with third-party apps. I would be very fearful of how they would muck up my indexing and other system components.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Intel Core i7-260012 GB Patriot Extreme DDR3-1333Nvidia GTX 470
OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i7-2600
Motherboard
Gigabyte GA-P67A-UD3P-B3
Memory
12 GB Patriot Extreme DDR3-1333
Graphics Card(s)
Nvidia GTX 470
Monitor(s) Displays
Dell UltraSharp 2209WA
Hard Drives
OCZ Agility3 240 GB, WD5001AALS, WD7501AALS
PSU
OCZ ModStream 700W
Case
CoolerMaster HAF 912 Advanced
Cooling
CoolerMaster Hyper 212 Plus
With windows 7 I don't seem to be able to find an advanced search option like XP has. I am trying to bring up multiple file types in a certain directory. In other words, in the programx directory, I want to find all files with the extension .aaa, .bbb, and .ccc. How do I do this in Windows 7?
As has already been suggested, a superb ALTERNATIVE to the Win7 search is a fabulous little product named Everything.

It is much simpler to use than Win7's search, and it is based on an index that it maintains in realtime anytime you do anything relating to file names. As you type your search (using whatever intuitive full/partial or wildcard syntax you can dream up, limited to a drive or not, limited to a folder or not, etc., etc., etc... exactly as you'd intuitively hope for) the "hit list" appears on the screen. The more you type, the shorter is the "hit list"... exactly as you'd expect. The search of the index is occurring simultaneous with your typing, so the search is effectively INSTANTANEOUS.

And the "hit list" is of course Explorer-compatible, so there's a right-click context menu on files selected from that "hit list", etc., etc.

Yes, Win7's search is powerful and sophisticated. Is it as simple and straightforward as the old WinXP search? No. Is Everything truly everything you wanted in a quick-and-easy filename search? Yes. There's an object running in the System Tray, you right-click on it and select "new search", and then start typing in the window that appears. Could not be easier, more intuitive, or speedier.

Just try it. You'll like it, I'm sure. It is totally independent of Win7's search and does not preclude your also using Win7's search.
 

My Computer My Computer

At a glance

Windows 7 Pro x64 (1), Win7 Pro X64 (2)i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6...8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built, two systems (1) and (2)
OS
Windows 7 Pro x64 (1), Win7 Pro X64 (2)
CPU
i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6MB-cache (2)
Motherboard
ASUS P8Z77-V Pro (1); ASUS P5Q3 (2)
Memory
8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)
Graphics Card(s)
ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Sound Card
Realtek ALC892 HD Audio (1); Realtek ALC1200 HD Audio (2)
Monitor(s) Displays
Eizo HD2441W LCD, Eizo S2433W (1); Eizo 24" S2433W (2)
Screen Resolution
1920x1200, 1920x1200 (1); 1920x1200 (2)
Hard Drives
(1) 1TB SATA-II (7200RPM), 2x2TB SATA-III (7200RPM), 250GB SATA-III (10000RPM) for OS; 2x2TB external USB 3.0

(2) 320GB SATA-II (7200RPM), 750GB SATA-II (7200RPM), 150GB SATA-II (10000RPM) for OS; 2TB external USB 3.0
PSU
Nesteq ECS-6001 600W (1); Nesteq ECS-5001 500W (2)
Case
Acousti-Case 360 (1) and (2)
Cooling
Noctua NH-U12P SE2 for CPU, 2x120mm case fans (1) and (2)
Keyboard
IBM PS/2 (1) and (2)
Mouse
Logitech MX Revolution wireless (1); Microsoft wired (2)
Internet Speed
100mbps down / 10mbps up
Antivirus
Microsoft Security Essentials; Malwarebyte Anti-Malware Pro
Browser
Firefox
Other Info
Ceton InfiniTV 4-tuner cablecard-enabled TV card as well as Hauppauge HVR-2250 OTA/ATSC 2-tuner TV card in (1), running under Win7 WMC
You definitely don't need to mess with third-party apps.

Unfortunately, it's many people's first thought to download some other third party app to manage file searches instead of learning how Win7 natively does it. I will agree in some cases a third party file manager can make things much easier (for instance certain bulk renaming actions), however in most cases it's just a lack of understanding of Win7's search capabilities rather than the actual lack of ability for Win7 to properly search for things. As Lemur already pointed out, this search is easily achieved with Boolean operators in the search box.
 

My Computer My Computer

At a glance

XP / Win7 x64 ProIntel Quad-Core Q9450 @ 3.2GHz2x2GB GSkill DDR2NVIDIA GeForce 8600 GTS (EVGA)
OS
XP / Win7 x64 Pro
CPU
Intel Quad-Core Q9450 @ 3.2GHz
Motherboard
Asus P5-E
Memory
2x2GB GSkill DDR2
Graphics Card(s)
NVIDIA GeForce 8600 GTS (EVGA)
Monitor(s) Displays
Dell 2408WFP
Screen Resolution
1920x1200
You definitely don't need to mess with third-party apps.

Unfortunately, it's many people's first thought to download some other third party app to manage file searches instead of learning how Win7 natively does it. I will agree in some cases a third party file manager can make things much easier (for instance certain bulk renaming actions), however in most cases it's just a lack of understanding of Win7's search capabilities rather than the actual lack of ability for Win7 to properly search for things. As Lemur already pointed out, this search is easily achieved with Boolean operators in the search box.
+1.

Windows 7 Search is a powerful tool, I can see no reason to install again one third party app to do something that can easily be done with native Windows tools.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
+1 to the +1 of the +1.

I reviewed the text of "Everything" (sounds all encompassing).

Wildcard (e.g., ?, *) function within MS Windows search, similar to "Everything".

A vertical bar in EVERYTHING is the same as "OR"

You can use quotes to include a space (e.g., "united states")

There's no need to run a second index.

Windows will handle other features, but you get the gist.
 

My Computer My Computer

At a glance

Systems 1 and 2: Windows 7 Enterprise x64, Wi...System 1: i7 [email protected], System 2: AMD FX-41...System 1: 8GB System 2: 8GBSystem 1: ATI FirePro V4800 System 2: Radeon ...
Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
+1 to the +1 of the +1.

I reviewed the text of "Everything" (sounds all encompassing).

Wildcard (e.g., ?, *) function within MS Windows search, similar to "Everything".

A vertical bar in EVERYTHING is the same as "OR"

You can use quotes to include a space (e.g., "united states")

There's no need to run a second index.

Windows will handle other features, but you get the gist.

But, recommending someone learn the search features of Windows7 doesn't allow the misguided opportunity to bash a feature one knows nothing about. That sounds a lot less cool.
 

My Computer My Computer

At a glance

XP / Win7 x64 ProIntel Quad-Core Q9450 @ 3.2GHz2x2GB GSkill DDR2NVIDIA GeForce 8600 GTS (EVGA)
OS
XP / Win7 x64 Pro
CPU
Intel Quad-Core Q9450 @ 3.2GHz
Motherboard
Asus P5-E
Memory
2x2GB GSkill DDR2
Graphics Card(s)
NVIDIA GeForce 8600 GTS (EVGA)
Monitor(s) Displays
Dell 2408WFP
Screen Resolution
1920x1200
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".
 

My Computer My Computer

At a glance

windows 7 64bit
OS
windows 7 64bit
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?
 

Attachments

  • Capture.JPG
    Capture.JPG
    42.7 KB · Views: 6

My Computer My Computer

At a glance

Systems 1 and 2: Windows 7 Enterprise x64, Wi...System 1: i7 [email protected], System 2: AMD FX-41...System 1: 8GB System 2: 8GBSystem 1: ATI FirePro V4800 System 2: Radeon ...
Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
The concept of these boolean searches shouldn't be foreign to anyone by now. Google uses them for web searches.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1Intel Core i7-260012 GB Patriot Extreme DDR3-1333Nvidia GTX 470
OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i7-2600
Motherboard
Gigabyte GA-P67A-UD3P-B3
Memory
12 GB Patriot Extreme DDR3-1333
Graphics Card(s)
Nvidia GTX 470
Monitor(s) Displays
Dell UltraSharp 2209WA
Hard Drives
OCZ Agility3 240 GB, WD5001AALS, WD7501AALS
PSU
OCZ ModStream 700W
Case
CoolerMaster HAF 912 Advanced
Cooling
CoolerMaster Hyper 212 Plus
That worked. Thanks!
 

My Computer My Computer

At a glance

windows 7 64bit
OS
windows 7 64bit
Excellent. Boolean logic can be your friend :)
 

My Computer My Computer

At a glance

Systems 1 and 2: Windows 7 Enterprise x64, Wi...System 1: i7 [email protected], System 2: AMD FX-41...System 1: 8GB System 2: 8GBSystem 1: ATI FirePro V4800 System 2: Radeon ...
Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
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

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:

Search_Boolean_OR_2.png

Kari

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

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11

My Computer My Computer

At a glance

Systems 1 and 2: Windows 7 Enterprise x64, Wi...System 1: i7 [email protected], System 2: AMD FX-41...System 1: 8GB System 2: 8GBSystem 1: ATI FirePro V4800 System 2: Radeon ...
Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
Back
Top