title: Having problem in for loop command in cmd with addition
body: <p>I am running a similar command given below in a .bat file:</p>
  
  <pre><code>@echo off
  FOR /l %%g in (1,1,100) do (
  set /a "j=%%g+1"
  python main.py --s filename%%g.txt --d filename%%j.txt
  )
  </code></pre>
  
  <p>Hoping for a looped command like:</p>
  
  <pre><code>python main.py --s filename1.txt --d filename2.txt
  python main.py --s filename2.txt --d filename3.txt
  ... so on
  </code></pre>
  
  <p>but not getting my desired output. Please help!</p>