title: Concatenate string and number in batch file
body: <p>How to concatenate number and string in for loop?
  I've tried like this but it doesn't work:</p>
  
  <pre><code>SET PATH=C:\file
  FOR /L %%x IN (1,1,5) DO (
      SET "NUM=0%%x"
      SET VAR=%PATH%%NUM%
      ECHO %VAR%
  )
  </code></pre>