title: Running a command with specific environment settings - one-liner
body: <p>To run a program with custom env settings, we do this on Linux</p>
  
  <pre><code>$ MYVAR=23 ./foo.py
  </code></pre>
  
  <p>On Windows, the only way I know of is:</p>
  
  <pre><code>C:\&gt; set MYVAR=23
  C:\&gt; .\foo.py
  C:\&gt; REM unset MYVAR here (but how?)
  </code></pre>
  
  <p>But can't this done be as an one-liner?</p>