This batch command searches for a string in files or input, outputting matching lines.
FIND [text] [destination]
Where text is the string which needs to be searched for and destination is the source in which the search needs to take place.
@echo off FIND "Application" C:\tp\lists.txt
If the word “Application” resides in the file lists.txt, the line containing the string will be displayed in the command prompt.