I would like to I would like to continue running the batch only if a specific string exists in a txt file.
Example:
setlocal ENABLEDELAYEDEXPANSION
if....
Findstr "check_ok" "C:\tmp\test.txt"
(
...continue...
) ELSE (
exit
)
but I don't want to create a file.
I can't find the correct way to do it...