On Fri, 01 Aug 2003 23:29:02 -0400, Glenn McCorkle wrote: > On Fri, 01 Aug 2003 22:47:33 -0500, Samuel W. Heywood wrote:
>> Can anybody recommend a very nice DOS-based text string search >> program that can search for a phrase throughout an entire >> directory full of text files? Also would like very much to get >> a search utility that can search for phrases within an archive >> of pkzipped text files >> I need such a program mainly for the purpose of looking for some >> very old archived emails. > FIND.EXE from OpenDos v7.01 > Can do #1 but not #2 > FIND R1.47 Find text string > Copyright (c) 1987,1996 Caldera, Inc. All rights reserved. > FIND [/Help] [options] "search string" [EMAIL PROTECTED]:][path]filename[.ext]...] > /B change display format > /C show only the number of lines that contained "string" > /F show only the name of files that contain "string" > /I case-insensitive search (default) > /N display line numbers > /P pause after each page is displayed > /S search files in sub-directories > /U case-sensitive search (e.g. 'A' does not match 'a') > /V display lines not containing "string" > @ the filename that follows is the name of a file list > d: drive which find is to search > path directory where search is to begin > filename.ext file to be searched (wildcards allowed) > Multiple files may be specified on the command line. > If no files are specified find will read from standard input. Oh, I know about that one, Glenn, but it never occurred to me that wildcards might be allowed, as in find "a needle in a haystack" *.mes I tried it. It really works great and it finds it fast! Using that command I can search automagically in very rapid succession every file meeting the wild card specifications within an entire directory for the specified text string. Using the "/S" parameter I could search subdirectories as well. Thanks. Now if only I can find a utility that will conduct searches for text strings in files compressed within pkzipped files. Can anyone please help me on that one? Sam Heywood -- This mail was written by user of The Arachne Browser: http://browser.arachne.cz/
