title: Expanding environment variables for command prompt
body: <p>I would like to run a cmd.exe that would evaluate environment variables at call time instead of when it parses the command. If I set the BASE to 2 and echoing it, I should see the number 2, although running this script does not properly set the base.</p>
  <p>Expected Behavior:</p>
  <pre><code>C:\Users\schristo&gt;cmd.exe /X /C &quot;set BASE=2 &amp;&amp; echo %BASE% &amp;&amp; pause&quot;
  2
  Press any key to continue . . .
  </code></pre>
  <p>Actual behavior:</p>
  <pre><code>C:\Users\schristo&gt;cmd.exe /X /C &quot;set BASE=2 &amp;&amp; echo %BASE% &amp;&amp; pause&quot;
  %BASE%
  Press any key to continue . . .
  </code></pre>