title: Newlines in batchfiles via caret ampersand echo. (^&echo.)
body: <p>So I learned today that a newline can be set via the following command:</p>
  
  <pre><code> set nl=^&amp;echo.
  </code></pre>
  
  <p>For example:</p>
  
  <pre><code>set nl=^&amp;echo.
  echo Hello%nl%world
  </code></pre>
  
  <p>yields</p>
  
  <pre><code>Hello
  world
  </code></pre>
  
  <p>But why does this work? What is the significance of ^&amp;? </p>