title: Arithmetic inside a for loop batch file
body: <p>I have a for loop in a batch file that looks like this: </p>
  
  <pre><code>for %%y in (100 200 300 400 500) do (
      set /a x = y/25     
      echo %x%
  )
  </code></pre>
  
  <p>The line:</p>
  
  <pre><code>set /a x = y/25
  </code></pre>
  
  <p>Doesn't seem to be doing any division. What is the correct syntax for dividing each y by 25? I only need the integer result from this division. </p>