title: Could Not find windows command to convert dos file to unix
body: <p>The scenario where I am stuck is that I have a normal windows text file <code>'command.txt'</code> which I am copying on remote(<code>unix</code>) server from my local machine(<code>windows</code>) using '<code>pscp</code>' command from <code>cmd</code>. </p>
  
  <p>The file contains some unix commands which are required to run on remote server. The copy is done successfully, but it is getting copied as dos file. That is why, when I am trying to run command.txt file from my local machine using 'plink' as:</p>
  
  <pre><code>plink -pw password user@host bash -m /location of command.txt on the server/command.txt
  </code></pre>
  
  <p>It is unable to execute <code>command.txt</code>. So, I need some windows command or may be some pscp option to convert my file to unix text file before copying it on the remote server.</p>
  
  <p>The solution I know is using <code>dos2unix</code>, but I don't want to use it. </p>