title: Batch - Echo or Variable Not Working
body: <p>I have this little batch script:</p>
  
  <pre><code>SET @var = "GREG"
  ECHO %@var%
  PAUSE
  </code></pre>
  
  <p>When I run it, it prints:</p>
  
  <pre><code>H:\Dynamics&gt;SET @var = "GREG"
  
  H:\Dynamics&gt;ECHO
  ECHO is on.
  
  H:\Dynamics&gt;PAUSE
  Press any key to continue . . .
  </code></pre>
  
  <p>Why won't it print the contents of @var?  How do I know if @var is even being set?</p>