I have the following input.txt file:
The aim of the batch file I want is to give me:
and the my batch file is:
for /f "tokens=1,2,3* delims=;" %%a in (E:\input.txt) do (
for /f " tokens=* delims= " %%a in (E:\input.txt) do (
call :sub1 %%a
echo %1 %2
echo.%1 %2; %%b;!RESULT!>>output.txt
however the output I get is:
tr min; %b;
te min; %b;
note that I need that current.tok for using in further function I want to use and the second for loop is for dropping equal sign in te=min and tr=min. now I don't know how to work with these two for loops to have the correct mentioned output.
Can anyone help me?
Thanks in advace,