title: Setting variables for batch files in Powershell
body: <p>I have a batch file named <code>bar.cmd</code> with a single line: <code>ECHO %Foo%</code>.<br>
  How can I set <code>Foo</code> in a Powershell script so that when I call <code>&amp; .\bar.cmd</code>, it will print <code>Bar</code>?</p>