Findstr Across Multiple File Types

corykv

Distinguished
Sep 23, 2009
1
0
18,510
Using findstr to find strings is fairly easy. I am trying to search recursively through a path, but only want to check one of three file types: *.java, *.properties or *.xml.

I know how to do one:

Code:
findstr /pinsc:"my weird search string" *.java


But how to tell findstr to look only in *.java, *.properties and *.xml files without having to run findstr 3 times?

Thanks in advance.

corykv