title: Send Commands to socket using netcat
body: <p>I am sending text commands to a custom protocol TCP server. In the example below I send 2 commands and receive a response written back. It works as expected in telnet and netcat:</p>
  
  <pre><code>$ nc 192.168.1.186 9760
  command1
  command2
  theresponse
  </code></pre>
  
  <p>not working when i tried in batch:</p>
  
  <pre><code>@echo off
  cd..
  cd C:\nc
  nc 192.168.1.186 9760
  00LI002LE99
  end
  </code></pre>
  
  <p>Please help me on this.</p>