title: write file with setlocal enableDelayedExpansion error
body: <p>I want a script to write a file with this output:</p>
  
  <pre><code>rem ===[A]==========[B]==========[C] # =========[D]==========[E]==========[F] # =========[G]==========[H]==========[I] 
  set "A1= " &amp; set "B1= " &amp; set "C1= " # &amp; set "D1= " &amp; set "E1= " &amp; set "F1= " # &amp; set "G1= " &amp; set "H1=5" &amp; set "I1= "
  </code></pre>
  
  <p>In this case i want to use EnableDelayedExpansion<br>
  I wrote this script:</p>
  
  <pre><code>setlocal EnableDelayedExpansion
  set file="test.bat"
  echo rem ===[A]==========[B]==========[C] # =========[D]==========[E]==========[F] # =========[G]==========[H]==========[I] &gt;&gt; %file%
  echo set "A1= " ^^&amp; set "B1= " ^^&amp; set "C1= " # ^^&amp; set "D1= " ^^&amp; set "E1= " ^^&amp; set "F1= " # ^^&amp; set "G1= " ^^&amp; set "H1=5" ^^&amp; set "I1= " &gt;&gt; %file%
  </code></pre>
  
  <p>But the output is only one line:</p>
  
  <pre><code>rem ===[A]==========[B]==========[C] # =========[D]==========[E]==========[F] # =========[G]==========[H]==========[I]
  </code></pre>
  
  <p>How can i make the output like what i want with EnableDelayedExpansion ?</p>