title: Batch file for copying files
body: <p>I'm looking to do some massive copy's during a server migration and I need to better understand the copy commands in Windows Server. I've been toying with xcopy, but I really am having a difficult time understanding it fully. Is there some good literature out there or can anyone help me with this? Is there any other software or commands I could use?</p>
  
  <p>I'm looking to do this to a full array of 37 servers, so I'm looking for guidance on creating a script I can input multiple directories into so that I can leave this running for as long as it takes.</p>
  
  <p>So far this is what I've been doing:</p>
  
  <pre><code>xcopy C:\Directory\*.* \\Server\Directory\*.* /S /V
  </code></pre>
  
  <p>It's working, but when I get an error it stops... and I'm not really sure the direction I should go for starting up a batch file for this project. Should I use variables? Should I prompt for the directories? What's the "best" way?</p>
  
  <p>Any help would be appreciated, thanks in advanced!</p>