title: Echo, "was unexpected" during redirection
body: <p>I am currently creating a math game and it will record the correct and incorrect answers to a text file (report.txt.)</p>
  
  <p>The problem is when I am redirecting text to a file (report.txt)</p>
  
  <p>Here is a part of my script that have the error:</p>
  
  <pre><code>set count=1
  set line=5 + 2 x 8 x 6
  set ans=7
  set lev=1
  (echo %count%.(%line%=%ans%) correct +%lev%) &gt;&gt; report.txt
  pause
  </code></pre>