title: Windows Command FOR LOOP - how to use previous value of counter?
body: <p>using Windows Command, I would like to use the previous counter value to specify a file within a command.
  Something like:</p>
  <pre><code>FOR /L %G in (1,1,3) do (echo %G &amp; echo (%G-1)
  </code></pre>
  <p>Expected result:</p>
  <pre><code>1 0
  2 1
  3 2
  </code></pre>
  <p>Is this possible somehow?</p>
  <p>Thanks a lot!</p>