title: How to send file over serial port in Windows Command Prompt
body: <p>I'm trying to send files over a COM port, but failed every time.</p>
  
  <p>First, I configure a serial on each machine like this:</p>
  
  <pre><code>MODE COMx:115200,N,8
  </code></pre>
  
  <p>where x is the COM port number.</p>
  
  <p>After this I'm trying to do:</p>
  
  <pre><code>COPY file.zip COM1: /B
  </code></pre>
  
  <p>and the reverse on the receiving PC.</p>
  
  <p>In most cases I've gotten a broken archive. But last tries gave me nothing at all - first PC says that the file was sent, but the second is just waiting for data. Is there somebody who knows how to solve this?</p>