title: CMD command (XCOPY,MOVE,ROBOCOPY) to Replicate "CUT and PASTE" in Windows OS (pref. 7)
body: <p>our Users has a Manual process that CUTS and PASTE files from one SHARED folder to another SHARED Folder over the network. The manual process has no problem except that it can be done automatically by means of a Batch CMD coding. Now I was tasked to do this but I failed in some way due to several requirements:</p>
  
  <ol>
  <li>The File Ownership (OWNER) remains</li>
  <li>The Time Stamp is retained</li>
  </ol>
  
  <p>What I did so far:</p>
  
  <pre><code>xcopy "\\sharedpc\folderA\*.CSV" "\\sharedpc\folderB\" /O
  robocopy "\\sharedpc\folderA" "\\sharedpc\folderB" *.csv /COPY:DO
  robocopy "\\sharedpc\folderA" "\\sharedpc\folderB" *.csv /COPY:DTO
  </code></pre>
  
  <p>I am getting access denied from these commands when I run them (ELEVATED Already).</p>
  
  <p>I am guessing that the either folderA or folderB or the share permissions is strictly set to read/write without the Special Permissions, because I can easily do these commands without access denied on my PUBLIC Shared Folder. </p>
  
  <p>What cannot be done:</p>
  
  <ol>
  <li>Grant Special Permission for those folders for Users</li>
  </ol>
  
  <p>The weirdest part is, they can do CUT and PASTE but cannot run my batch command properly with Elevated Permissions. </p>
  
  <p>My question is, <strong>How can I replicate the CUT and PASTE using Batch CMD?</strong></p>