title: Batch script to merge files without Hex char 1A at the end
body: <p>I'm merging two ASCII files via a simple batch script like this</p>
  
  <pre><code>COPY a.txt+b.txt c.txt /y /a
  </code></pre>
  
  <p>The problem is, the very last character in C gets set to <code>1A</code>, the HEX notation for <code>SUB</code>. c.txt is fed into another executable which does not like the <code>1A</code> at the end. </p>
  
  <p>After c.txt is generated, if I open it up in Notepad++ and remove the last character, the file works fine.</p>
  
  <p>How could I merge the <code>a.txt</code> and <code>b.txt</code> without <code>1A</code> getting appended to the end of <code>c.txt</code> ?</p>