title: How do I copy files using Windows Batch?
body: <p>I have a directory with several subdirectories with files.<br>
  How can I copy all files in the subdirectories to a new location?<br></p>
  
  <p><strong>Edit:</strong> I do not want to copy the directories, just the files...</p>
  
  <p>As this is still on XP, I chose the below solution:</p>
  
  <pre><code> for /D %S IN ("src\*.*") DO  @COPY "%S\" "dest\"
  </code></pre>
  
  <p>Thanks!</p>