title: How to initialize a variable in windows command shell and echo it
body: <p>How to initialize a variable in windows command shell?
  I tried </p>
  
  <pre><code>(
  var $a=1
  echo $a
  )
  </code></pre>
  
  <p>and got an error</p>
  
  <pre><code>'var' is not recognized as an internal or external command, operable program or batch file.
  </code></pre>