title: Perform action depending on variable value in Batch Files
body: <p>As the title suggest, how exactly would you do two different action (like below) depending on the value of a variable in a Batch file.</p>
  
  <p>E.g. </p>
  
  <pre><code>IF %NUMBER% = 2 do ECHO Number 2
  IF %NUMBER% = 1 do ECHO Number 1
  </code></pre>