home *** CD-ROM | disk | FTP | other *** search
- FIND
-
- FIND is an external command that searches for a specific string of text
- in one or more files or the output from another command.
-
- FIND [/V][/C][/N] "string" [d:][pathname]filename[.ext]...
- or
- command | FIND [/V][/C][/N] "string"
-
- /V tells FIND to display all lines not containing the string.
-
- /C causes FIND to count the lines that contain the string.
-
- /N displays a relative line number in front of each line containing "string".
-
- "string" is the text that you wish to find surrounded by double quotes.
-
- [d:][pathname]filename[.ext] is the file to be searched. More than one file
- may be specified. If no file is specified, FIND will search the text that
- is entered from the keyboard or from a file or device (using redirection).
-
- command is another DOS command, such as DIR.
-
- NOTE: Wildcards CANNOT be used with the FIND command. Look at the examples in
- the BATCH_COMMANDS HINTS PARAMETERS EXAMPLES for a way around this limitation.