title: Powershell generates .bat, and put special character
body: <p>I'm currently working with powershell in order to create a .bat script.</p>
  
  <p>I put text in .bat script with <code>&gt;&gt;</code></p>
  
  <p>For example,</p>
  
  <pre><code>Write "start program xxx" &gt;&gt; script.bat
  </code></pre>
  
  <p>but when i try to execute this script.bat with cmd, it says :
  "■s" is not recognize ... etc.
  And in powershell it says : 'þp'  is not recognize ..</p>
  
  <p>So I guess that doing  <code>&gt;&gt; script</code>  put special character at the beginning of the line. If someone got information on this. And what those "■s" and 'þp' are.</p>