Answer the question
In order to leave comments, you need to log in
How to write a CMD script: search for three lines in a row in a text file?
We need a batch file with a search for three lines in a row in a text file.
At the input we have:
1) a text file (filie.txt)
2) three search lines:
LICENSE NAME: Retail edition
LICENSE DESCRIPTION: RETAIL channel
LICENSE STATUS: LICENSE
At the output:
Variable Founded=0/1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question