elwayisgod
asked on
xcopy help
Hi,
I have an XCOPY command:
xcopy "E:\apps\Hyperion\common\i mport_expo rt\planadm in@Native Directory\Planning_TS_EMBU D_All\*.*" "\\lynx\HyperionDev_Backup s\Essbase_ Backup\DEV _BKUPS\DEV _Weekly\03 172011_Thu \LCM_BKUPS \Planning_ TS_EMBUD_A ll\*.*" /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?
I have an XCOPY command:
xcopy "E:\apps\Hyperion\common\i
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?
I use the /s/h/e/r/c/k/y switches with XCOPY to copy everything and continue on errors.
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....
Here's the technet article that shows you all the syntax options.
http://technet.microsoft.com/en-us/library/bb491035.aspx
If you're not opposed to using robocopy, have a look at my solution here.
https://www.experts-exchange.com/questions/26865402/Is-this-Robocopy-command-syntax-correct.html?sfQueryTermInfo=1+10+30+robocopi+yelbaglf&anchorAnswerId=35040865#a35040865
http://technet.microsoft.com/en-us/library/bb491035.aspx
If you're not opposed to using robocopy, have a look at my solution here.
https://www.experts-exchange.com/questions/26865402/Is-this-Robocopy-command-syntax-correct.html?sfQueryTermInfo=1+10+30+robocopi+yelbaglf&anchorAnswerId=35040865#a35040865
ASKER
Client will not allow Robocopy to be installed :(
Can you try a mapped drive instead of UNC for the destination?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Another note is that you might consider shortening and simplifying your folder/directory naming structure beforehand. This might be causing an issue as well.
ASKER
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.