title: copying files from windows cmd.exe
body: <p>I am trying to make a backup of the files in a corrupted MySQL database before doing a clean install from a different backup file.  I am on a windows 7 machine.  Someone suggested the following, but the <code>mv</code> command does not work on windows:  </p>
  
  <pre><code>mv /var/lib/mysql /var/lib/mysql.old
  </code></pre>
  
  <p>So instead, I am trying to use <code>robocopy</code>, but I am getting a range of different error messages with each attempt.  Here is a screen shot of some of the error messages for my various attempts:  </p>
  
  <p><a href="https://i.stack.imgur.com/wonw2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wonw2.jpg" alt=""></a>
    </p>
  
  <p>Here is a link to the complete suggested code in a related posting, if it helps anyone suggest the correct syntax: <a href="https://dba.stackexchange.com/questions/65728/forcing-innodb-recovery-of-a-corrupted-database/65736?noredirect=1#comment118435_65736"> Click Here</a>  </p>
  
  <p>I tried <code>xcopy</code> but am getting the following error result:  </p>
  
  <p><a href="https://i.stack.imgur.com/NAz1m.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NAz1m.jpg" alt=""></a>
    </p>
  
  <p>Then I tried <code>move</code> but got the following results, despite trying a few different ways of doing the slashes:  </p>
  
  <p><a href="https://i.stack.imgur.com/FJRy7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FJRy7.jpg" alt=""></a>
    </p>
  
  <p>I added a <code>C:\ProgramData\MySQL\bkup</code> folder to my hard drive and tried the following:  </p>
  
  <p><a href="https://i.stack.imgur.com/wMK5e.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wMK5e.jpg" alt=""></a>
  </p>