title: What is the Windows command for using git ls-files to copy modified files?
body: <p>On a unix machine you can run:</p>
  
  <pre><code>cp $(git ls-files --modified) ../modified-files
  </code></pre>
  
  <p>To copy the modified files to another directory. I'd like to do this on the Windows command line. (This command doesn't work). </p>
  
  <p>My question is: <strong>What is the Windows command for using git ls-files to copy modified files?</strong></p>
  
  <hr>
  
  <p>EDIT:</p>
  
  <p>git version is: <code>git version 1.9.5.msysgit.0</code></p>
  
  <p>Clarification: The issue isn't whether the <code>git ls-files</code> command works or not - the question is how to pass this list of files into the copy command. </p>