I am new to writing batch files. I am trying to do the following .
Read line by line from file called list.txt which has two tokens which are space seperated and in the next for loop i am tokenizing and sending these tokens as parameters to another script.
FOR /F %%i IN (C:\list.txt) DO
FOR /F "tokens=1,2 delims= " %%A IN (%%i) DO
winscp.com /script=C:\myscript1.txt /parameter %%A C:\%%B
But I am getting the following error. Do was un expected at this time.
Can some one explain what am I missing.
Thanks