title: How do I copy multiple folders to another path with a batch file?
body: <p>How to make it go through certain folders(ex. 1-8 on the drive E:) and their trees and copy them on F: in the batch file(my doesn't work):</p>
  
  <pre><code>set drive=E:
  for %%a in (1,2,3,4,5,6,7,8) do (
    set folder=%%a
     for /R "%drive%\%%a" %%b in (*) do (
          copy "%%b" %drive%\%folder% 
  </code></pre>