Question : xcopy - Insufficient memory

Im trying to copy some files from one pc to another, Im using xcopy as I find windows too unstable when copying files over a network, if it fails due to an error, the whole copy dies.

After about 20 mins of copying I get "Insufficient memory 5646 File(s) copied" there is plenty of room on my destination drive, and running 1Gb of memory.

I have mapped the network share to drive z:

The command Im using is "xcopy z:\ "c:\Documents and Settings\Owner\Desktop\New Folder (2)\" /c /e" which I thought should continue if it comes across an error, but it just fails and dies at this message, and returns me back to command window.

Any ideas?

Tony

Answer : xcopy - Insufficient memory

Hi,

this is a know issue because you are hitting the 255 character path limitation in Windows.

Copy the files to a location where the directoryname is not that long and change some of the really long filesnames.

Cheers,
Stefan
Random Solutions  
 
programming4us programming4us