View Single Post
Old 26th Aug 2019, 11:51 am   #16
arjoll
Dekatron
 
arjoll's Avatar
 
Join Date: May 2006
Location: Invercargill, New Zealand
Posts: 3,457
Default Re: Word in file search utility, DOS

Unfortunately piping through MORE as Graham suggested won't work here - it'll do the pipe on each individual iteration of FIND, not on the whole run.

G6Tanuki is close, but use >> file.txt instead - that will append each run to the file. With a single > you'll overwrite with each run and only ever get the results for the first file.

Trying something like:
More < for %f in...
May work as well, but I am not on my PC so can't check. I'll have a look in the morning NZ time.
arjoll is offline