title: How do I stop my batch file from printing the code it is running?
body: <p>I have the following script:</p>
  
  <pre><code>FOR %%i IN (1 2 3) DO (     
      IF %%i==1 ( 
         ECHO %%i 
      )
      IF %%i==2 ( 
         ECHO %%i 
      )
      IF %%i==3 ( 
         ECHO %%i 
      )
  )
  </code></pre>
  
  <p>I just wanted to print</p>
  
  <pre><code>1
  2
  3
  </code></pre>
  
  <p>because I will be using the same logic again to write a more complete task ... I'm not a Windows guy, and I have no idea how to do it in <code>batch</code>.
  Instead I'm getting:</p>
  
  <pre><code>c:\&gt;FOR %i IN (1 2 3) DO (
  IF %i == 1 (ECHO %i  )
   IF %i == 2 (ECHO %i  )
   IF %i == 3 (ECHO %i  )
  )
  
  c:\&gt;(
  IF 1 == 1 (ECHO 1  )
   IF 1 == 2 (ECHO 1  )
   IF 1 == 3 (ECHO 1  )
  )
  1
  
  c:\&gt;(
  IF 2 == 1 (ECHO 2  )
   IF 2 == 2 (ECHO 2  )
   IF 2 == 3 (ECHO 2  )
  )
  2
  
  c:\&gt;(
  IF 3 == 1 (ECHO 3  )
   IF 3 == 2 (ECHO 3  )
   IF 3 == 3 (ECHO 3  )
  )
  3
  </code></pre>