How to: filter files by name and contents in Windows 7?
I need to find files named bob.xml
recursively and leave (in the search results) only those that contain the phrase <gold>100</gold>
Can it be done under Windows 7 w/o using any external software (that I have to download and install)?
Best solution would use only Windows Explorer's search queries (the input in the upper-right corner)
findstr /s "<gold>100</gold>" bob.xml
or using a better search utility such as AstroGrep. It might be possible via Windows Search if the XMLs are indexed, but I'm not sure. Windows Search sucks for sure!