Code: Select all
REM Standard printline:
for /f "tokens=1*" %%a in ('findstr /b /i "printline" "!$file!"') do (
I need it to process only the first line of test.txt. It currently "picks out" printline from the first point in test.txt, not necessarily the first line.
Can one do that?
Edited by aGerman: Code tags corrected.