| Descriptive DOS Command |
| |
| find |
| |
| A filters to find lines in the input data stream
that contain or don't contain a specified string and send these to the output data stream. |
| Find may also be used as a pipe. |
| |
| SYNTAX: |
| find "keyword" < ''inputfilename'' > ''outputfilename'' |
| |
| Searches for a text string in a file or files. |
| FIND [/V] [/C] [/N] [/I] "string" [[drive:][path]filename[ ...]] |
| |
| /V |
Displays all lines NOT containing the specified string. |
| /C |
Displays only the count of lines containing the string. |
| /N |
Displays line numbers with the displayed lines. |
| /I |
Ignores the case of characters when searching for the string.
|
| "string" |
Specifies the text string to find. |
| [drive:][path]filename |
Specifies a file or files to search. |
|
| |
| If a pathname is not specified, FIND searches the text typed at the prompt
or piped from another command.
|
| |
| |
|
|
| |
| |