title: Using a batch to copy from network drive to C: or D: drive
body: <p>I am having issues executing a batch file that will copy files from a mapped network drive to a local drive.</p>
  
  <p>Here is the batch code I'm using (it's just in a low level folder at the moment as I don't wanna execute commands in a production environment until I have everything perfect).</p>
  
  <pre><code>echo off
  cls
  
  echo Would you like to do a backup?
  
  pause
  
  copy "\\My_Servers_IP\Shared Drive\FolderName\*" C:TEST_BACKUP_FOLDER
  
  pause
  </code></pre>
  
  <p>And I also tried:</p>
  
  <pre><code>echo off
  cls
  
  echo Would you like to do a backup?
  pause
  
  copy "\\My_Servers_Name\Shared Drive\FolderName\*" C:TEST_BACKUP_FOLDER
  
  pause
  </code></pre>
  
  <p>Neither of the above commands will copy the files to C:TEST_BACKUP_FOLDER when I request it to do so, but if I use the same exact syntax but make a copy request from a local drive it works no problem with this syntax and goes directly into the above folder with no issues.</p>
  
  <p>The strangest part is that the cmd output even shows the files I want copied are even recognized in the command line and at the end it says “1 files copied” but nothing copies over to that folder. So I know I have the copy request destination correct because it even recognises which files are in the folder and the names show up. And as I said the destination in C: is also correct because when I use that address on the local PC they copy to that folder every time. It's obviously something to do with the network drive. At first I thought maybe it was a permission issue but the folder I'm now trying on is a Shared mapped drive that anyone in the company can access and has r/w privilges to. Why such problems on a public shared drive?</p>
  
  <p>Could you offer any further suggestions? </p>