Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Want XCOPY, not ROBOCOPY! File creation error

13 Dec 2012   #1

Windows 7 64 bit Pro
Want XCOPY, not ROBOCOPY! File creation error

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".
Command is:
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)

Thanks everyone.

My System SpecsSystem Spec


 Want XCOPY, not ROBOCOPY! File creation error

Thread Tools

Similar help and support threads for2: Want XCOPY, not ROBOCOPY! File creation error
Thread Forum
Solved xcopy comes up with 'file not found' General Discussion
XCOPY - How do I display error messages? General Discussion
Solved Created a scheduled .bat file to xcopy. How do I? Customization
Robocopy backup - file permissions General Discussion
Batch file & XCopy Network & Sharing
Help with bat file (xcopy) on Win7 General Discussion
Just an FYI on RoboCopy and Xcopy Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 10:00 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33