title: Batch file to copy file A to file B after removing the CR LF
body: <p>I need a batch file contents to copy file A to file B after removing the CR LF</p>
  
  <p>I have found the following but it is simply taking actual value of %1 and putting into a file without cr lf.</p>
  
  <pre><code> REM Copy and Remove Line Feeds
   @echo off
   echo %1&gt;  %2
  
   rem &lt;nul set /p ".=%1 &gt; c:/temp/%2.txt
  </code></pre>
  
  <p>I need to remove all the CR LFs from File A and put the results in File B</p>