Type: External (2.0 and later)
FIND [/V][/C][/I][/N] string [d:][path]filename[...]
Purpose: Finds and reports the location of a specific string of
characters in one or more files.
FIND is a filter command (reads from input, transforms it, and outputs it
screen, to a file, or to a printer). FIND searches for a string of
you enter in the files you name. The program will display the lines that
contain the specified string. You must put double quote marks before and
the characters to be searched for. If the string you are searching for
has quotes around it, you must use a double set of quote marks.
If you do not enter a filename, the program will prompt you for one when
program starts. Wild card characters are not allowed.
For more information on using FIND and other DOS filter commands, refer
Chapter 6, Tips for Advanced Users.
/V - Displays all lines not containing the specified string.
/C - Displays only the count of the number of lines that contained a
in each of the files.
/I - Ignores the case of letters in the string search.
/N - Displays the found line preceded by the relative line number.
You can use FIND to search more than one file. For example, to find the
and being unknown, is Truth in both the file QUOTES1.TXT and QUOTES2.TXT
diskette in drive B, enter
find and being unknown, is Truth b:quotes1.txt b:quotes2.txt
FIND will display the found lines first from the file QUOTES1.TXT and
the file QUOTES2.TXT.
Back to the