title: CMD "MOVE /Y" asks for confirmation
body: <p>I'm still working on getting this: <a href="https://stackoverflow.com/questions/20773056/cmd-for-unable-to-move-files-due-to-string-butchering/20773099?noredirect=1#20773099">CMD for unable to move files due to string butchering</a> to work.</p>
  
  <p>My batch script looks like this right now, </p>
  
  <pre><code>FOR /F "delims=" %%T IN ('dir G:\ /B /A:D') DO (
    CD "G:\%%T"
    FOR /R %%D IN (*) DO (MOVE /Y "%%D" "G:\%%T")
  )
  PAUSE
  </code></pre>
  
  <p>and does as I intended, however as soon as it finds a duplicate file, it asks what it's supposed to do (overwrite: yes/no/all) for EACH file. Ordering to replace ALL only replaces one file.</p>
  
  <p>Image: <a href="https://imgur.com/aKLsKs1" rel="nofollow noreferrer">http://imgur.com/aKLsKs1</a></p>
  
  <p>Why does it do that, and how do I fix it?</p>
  
  <p>EDIT:
  Turns out to be a windows bug of sorts. <code>ROBOCOPY</code> or <code>XCOPY</code> both work and their quiet switches work. </p>