title: Windows command to convert Unix line endings?
body: <p>Is there a Windows command to convert line endings of a file?</p>
  
  <p>We have a <code>test.bat</code> which we need to run to start our server. We use Perforce and we need to have unix line endings in our workspace. For some reason, we are not allowed to change line endings to Windows in our workspaces. However, the server runs on Windows.</p>
  
  <p>Everytime I have to run the bat file, I open it in Notepad++ and choose Edit&rarr;EOL conversion&rarr;Windows. Is there a way to automate this so that we won't need to manually change the line endings everytime we sync with Perforce?</p>
  
  <p>Thanks in advance.</p>