title: how to set environment variable from file contents?
body: <p>On windows/cygwin, i want to be able save the PATH variable to file on one machine and load it onto the other machine;</p>
  
  <p>for storing the variable i am doing:</p>
  
  <pre><code>echo %PATH% &gt; dat
  </code></pre>
  
  <p>however, not sure how to load it later.</p>
  
  <pre><code>set PATH=???????
  </code></pre>
  
  <p>Thanks
  Rami</p>