I try to find one line in whole text file. Next I need to set this line as a variable.
When i try do this:
set MY_VARIABLE=findstr /I \"MY_TEX
Almost done
For command line
for /F "delims=" %a in ('findstr /I "MY_TEXT" MY.FILE') do set "batToolDir=%a"
For batch file double the percent signs
for /F "delims=" %%a in ('findstr /I "MY_TEXT" MY.FILE') do set "batToolDir=%%a"