title: run two commands in one windows cmd line, one command is SET command
body: <h2>[purpose]</h2>
  <p>This simple command sequence runs expected in the Windows' CMD shell:</p>
  <pre><code>dir &amp; echo hello
  </code></pre>
  <p>will list the files and directories and echo the string.</p>
  <p>However, the following command sequence does not run as expected (at least by me):</p>
  <pre><code>C:\Users\Administrator&gt;set name=value &amp; echo %name%
  %name%
  
  C:\Users\Administrator&gt;echo %name%
  value
  
  C:\Users\Administrator&gt;
  </code></pre>
  <p>As we can see, the first echo cannot get the environment. Could you help to comment? Any comment will be appreciated!</p>
  <p>PS: OS:Windows 7 X64 Home Pre</p>