I’m using xcopy action with Exclude Files. File Locations are working fine with variable, like \servername%appname%*.*
But, when exclude files by giving the path with variable, it seems doesn’t work for the second time.
For example, Exclude file \servername%appname%\Backup
Thanks for your help!
XCopy action is working fine on a Windows2000 server to copy the file remotely with another Win2k server. But, when I run my finalbuilder script on XP, it gives me an error "calling xcopy using command line: “source path” “destination path”/Y /I /EXCLUDE: C:\DOCUME~1\Temp\xcp563.tmp /S /R
Cannot perform a cyclic copy.
But, I specified Exclude folder mannually without putting any variables in the path. Can you plz help me on this? xcopy action is working on another server which controlled xcopy on my own desktop.
Thanks a lot!
Hi Eric
Did you try running xcopy from a dos command line, that would at least tell us if this is a FinalBuilder problem or an XCopy problem. Without seeing your source & destination paths it’s hard to figure out what the problem could be.
Hmmm… a quick google on “xcopy cyclic copy” found this link "
http://www.xxcopy.com/xxcopy07.htm
HTH
Hi Vincent,
I tried to use xcopy in DOS command window. It gave me different results on XP and Win2000. Win2000 works fine, but XP gave me Cannot perform a cyclic copy error. Do you know anything about it? Or, any suggestion on what I’m trying to do here? We have a dir on production server which contains the Backup folder in it. Each time we want to release something on prod., we need to copy everything under the dir except the Backup folder first. I think xcopy is the best way to do so, right? Thanks for any advice.
Hi Eric
The link I posted has some info on the cyclic issue. Another alternative might be RoboCopy, which can be downloaded from microsoft :
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
Thank you so much, Vincent! Robocopy is working flawlessly.