Insufficient memory using xcopy

New Windows 8 machine.  Attempted copy of docs from disk of old machine connected with USB.  Copies about 1800 files (same number on multiple attempts) and quits with "insufficient memory"  Using Xcopy (Hey, it's what I know.)  Didn't help to use switches, such as /d /e /c /y.  In fact, I got an invalid number of parameters once.  What was that all about?

Of course, there is ample RAM and a huge swap file.

Anyway, is XCopy toast?  Do I have to use PowerShell?  Any advice?

Ron Hicks, Arlington VA
Ronald HicksConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
is the file path and name longer than 254 characters?
0
Joe Winograd, Fellow&MVEDeveloperCommented:
Hi Ron,
You may want to try Robocopy or RichCopy, both of which are advanced copy utilities (RichCopy is the newer one) that may perform better than XCOPY. Regards, Joe
0
Joe Winograd, Fellow&MVEDeveloperCommented:
Ron,
One other idea. I've been using an excellent file manager called Total Commander for many years:
http://www.ghisler.com/

I guarantee it can copy as many files as you have! It is not free, but it is among the best 46 dollars (USD) that I've ever spent. Well, I probably spent less many years ago when I bought it (and all upgrades have been free), but that's what a personal license costs today. Also, the personal license grant is generous. Here's a quote:

"The registered version may be installed on as many computers as desired, as long as it is used by only one person at any one time (I.e. one installation at home and one at the office used by the same person). Therefore you need only one licence for a port connection between two computers. The usage by multiple people at the same time (on multiple computers) requires additional licences."

Furthermore, it is shareware, and you may download a fully functional version to see if it works for you before making a purchase.

The product does lots of other stuff, such as having an FTP client, folder synchronization, file comparison tools, etc., but I have limited my response to addressing just your issue – copying lots of files. Btw, the support is fabulous. When I send an email to tech support, I always get a prompt, accurate answer. In more than a decade of using this file manager, from Windows 95 through my current 64-bit W7 and W8, it has never messed up a file.

As a disclaimer, I want to emphasize that I have no affiliation with this company and no financial interest in it whatsoever. I am simply a happy user/customer. Regards, Joe
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ronald HicksConsultantAuthor Commented:
What a treasure trove of good suggestions.  Thanks all.  Ron
0
Joe Winograd, Fellow&MVEDeveloperCommented:
You're welcome!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 8

From novice to tech pro — start learning today.