hi im trying to do a mass xcopy of shares off a server to a client using xcopy.
this is a small example of my .bat file:
the problem is each share has a password (they all have the same password though)but i get the error: bad path ,specified password not correct.
how can i stipulate the password along with my xcopy
command ,
any help would be great.thanks
this is a small example of my .bat file:
Code:
xcopy /S \\cachepilot\aada01\ D:\backup\aada01\
xcopy /S \\cachepilot\aald01\ D:\backup\aald01\
xcopy /S \\cachepilot\abag01\ D:\backup\abag01\
xcopy /S \\cachepilot\abal01\ D:\backup\abal01\
xcopy /S \\cachepilot\abar01\ D:\backup\abar01\
xcopy /S \\cachepilot\abar02\ D:\backup\abar02\
xcopy /S \\cachepilot\abar03\ D:\backup\abar03\
xcopy /S \\cachepilot\abat01\ D:\backup\abat01\
the problem is each share has a password (they all have the same password though)but i get the error: bad path ,specified password not correct.
how can i stipulate the password along with my xcopy
command ,
any help would be great.thanks