I have successfully used XCOPY in the past and had it working well on Win 7.
Recent problem: using known good XCOPY command it works OK - to a new folder! If I repeat the same command it fails with "File creation error: the directory is not empty".
xcopy “c:\users\john smith” i:\DATA /e/m/y/h/r
Background: PC had had major problems and decision taken to reload. All done and working just fine. User had been created with same user name, i.e. in above command "john smith" and data copied back into the documents folder. All OK.
Used command first time: great; second time, failed. Tried with same command but copying to d:\TEST. Worked first time but failed second time!
I tried on another Win 7 PC and all worked well. It mus65t be to do with re-using user name on the rebuild and something about the data files being carried across. Yes, I know I could just create another user and bring data across but I want to know why it doesn't work!
I've tried ROBOCOPY but can’t reproduce simplicity of display and summary that XCOPY gives. (ROBOCOPY command: robocopy “c:\users\john smith\documents” i:\data /S /ZB /R:3 /W:5 /FP)