title: execute cygwin sort command from batch file
body: <p>I am trying to run the sort command from a batch file to take the lines from new.txt and output them into unique.txt</p>
  
  <p>C:\cygwin64\bin\bash -c "sort -u new.txt > unique.txt"</p>
  
  <p>This is not working</p>
  
  <p>However, if I place new.txt into the home/Administrator directory and run the command in the terminal it works just fine.</p>