Page 1 of 1

Invalid Drive Specification

Posted: 14 Nov 2010 14:34
by captedgar
Hi there
I have googled a lot to find a solution to this issue and none of them seem to work.
can u please suggest a possible fix to this?

I have an batch file and one of the line in the batch is the xcopy command which looks as follows

Code: Select all

XCOPY /E /Y "\\<server name>\<drive>$\<folder1>\*.*"  "\\%1\<drive>$\<folder1>\<subfolder 1>"

when i run this as an exec via cruisecontrol, i get the cruisecontrol to fail on this exec with the error message "Invalid Drive Specification"

regards

Re: Invalid Drive Specification

Posted: 14 Nov 2010 20:53
by amel27
probably You have no sufficient rights to remote admin shares, try manually:

Code: Select all

pushd \\<server name>\<drive>$

Re: Invalid Drive Specification

Posted: 15 Nov 2010 03:17
by TwiNcLe
maybe you had misplace a code some where there..

better take a look at your codes again...

to be sure..

:wink: