I am trying to write a batch file which takes two parameters are input. The prog is given below.
for %j IN (1,1,%1) do GOTO=LOOP
IF %j == %1 GOTO END
set PRNNO = %2 + %j
here the for loop has to go on till %1 number of times with increments of 1. Then each time it has to display the sum of the j value in the loop and the second parameter. Can some body help me in this regard.