Rick,
I was not aware of the FINDSTR DOS command until someone posted it in this thread. I have been trying it out and it looks like it may be very close to your old TS.EXE.
I posted some examples of using it to search source code below. I have all that code in a batch file which exports the results into several TXT files.
James
------------------------------------------
The DOS program Findstr is great at locating strings in your source code. Here are some examples.
rem Find all occurrences in all source files in current directory
rem and ignore case and include line numbers
findstr /n/i/C:"index on" *.prg >indexon.txt
findstr /n/i/C:"set index to" *.prg >setindex.txt
findstr /n/i/c:":addindex" *.prg >addindex.txt
findstr /n/i/c:"=Tdata():new(,\"clients\"" *.prg >clients.txt
In the last example note that we are looking for a string containing quotes so we have to use the "escape" character, the backslash \, right before the quote marks we want in the search string. So we are actually searching for:
=TData():new(,"clients"
See this link for more info on escape syntax:
http://ss64.com/nt/findstr-escapes.html