Invalid Drive Specification

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
captedgar
Posts: 7
Joined: 22 Oct 2009 18:13

Invalid Drive Specification

#1 Post by captedgar » 14 Nov 2010 14:34

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

amel27
Expert
Posts: 177
Joined: 04 Jun 2010 20:05
Location: Russia

Re: Invalid Drive Specification

#2 Post by amel27 » 14 Nov 2010 20:53

probably You have no sufficient rights to remote admin shares, try manually:

Code: Select all

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

TwiNcLe
Posts: 1
Joined: 15 Nov 2010 02:45

Re: Invalid Drive Specification

#3 Post by TwiNcLe » 15 Nov 2010 03:17

maybe you had misplace a code some where there..

better take a look at your codes again...

to be sure..

:wink:

Post Reply