Link to home
Start Free TrialLog in
Avatar of elwayisgod
elwayisgodFlag for United States of America

asked on

xcopy help

Hi,

I have an XCOPY command:

xcopy "E:\apps\Hyperion\common\import_export\planadmin@Native Directory\Planning_TS_EMBUD_All\*.*" "\\lynx\HyperionDev_Backups\Essbase_Backup\DEV_BKUPS\DEV_Weekly\03172011_Thu\LCM_BKUPS\Planning_TS_EMBUD_All\*.*" /Y /S /E /i >> LCM_Backup.log

It runs and starts copying then it just quits and stops and is not copying all the subfolders and folders.  Am i doing something wrong?  Is there a better command to copy an entire directory?
Avatar of AustinComputerLabs
AustinComputerLabs
Flag of United States of America image

I use the /s/h/e/r/c/k/y switches with XCOPY to copy everything and continue on errors.
Avatar of elwayisgod

ASKER

Nope.. Still stops... It's only happening from a certain server too.  What on gods earth could possibly be happening on a specific server all of a sudden.  This XCOPY was working flawlessly uptil a few days ago....
Avatar of yelbaglf
Client will not allow Robocopy to be installed :(
Can you try a mapped drive instead of UNC for the destination?
ASKER CERTIFIED SOLUTION
Avatar of yelbaglf
yelbaglf
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Another note is that you might consider shortening and simplifying your folder/directory naming structure beforehand.  This might be causing an issue as well.
It's a folder length issue... When I actually watch the cmd window an error pops up about 'out of memory'.  It's not a actual RAM issue or anything.  Further investigation shows it's limited to 255 total characters.  Thus my source and destination combined sometimes was over that.  So I shortened it for now as best I could and it's working but it's hard as the software determines the path where these xml files are stored.....
I know how you feel.  I've dealt with this in the past, and it's no fun!  I'm glad to hear we have some functionality finally.