title: Adding number 1 to a variable everytime the command executes
body: <p>I want to make a code that would extend a variable in a batch file.
  I have this code:</p>
  
  <pre><code>@echo OFF
  color A
  echo press Enter
  pause &gt;nul
  :again
  cls
  set /a sum1=+1
  echo press Enter(pressed %NUM% times)
  cls
  goto again
  </code></pre>
  
  <p>I want to extend the variable by 1, everytime the commands executes. So the output should look like this(An example):</p>
  
  <blockquote>
    <p>press Enter(pressed 3 times)</p>
  </blockquote>
  
  <p>Any ideas?
  Excuse my english..</p>