from a command line you can issue the Find command and redirect the results to a text file
if you want to use wildcards I think you have to use the Find command inside a For statement
look up Find, For, and redirecting output in a Command Line reference
-AndyM
Nowadays we even have 'findstr' on Win7:
FINDSTR [/B] [/E] [/L] [/R] [/S] [/I] [/X] [/V] [/N] [/M] [/O] [/P]
[/F:Datei] [/C:Zeichenfolge] [/G:Datei] [/D:Verzeichnisliste]
[/A:Farbattribute] [/OFF[LINE]] Zeichenfolgen
[[Laufwerk:][Pfad]Dateiname[ ...]]
http://ss64.com/nt/findstr.html
C:\>FindStr /R myregexsearchpattern C:\Temp\*.txt > C:\Temp\results.txt
- - -
hehehe, the circle closes :P :
Along the way, qgrep somehow changed its name to findstr.
http://blogs.msdn.com/b/oldnewthing/archive/2012/11/28/10372436.aspx
.