I am trying to copy a file on to a remote server using the DOS Copy command as below...but it errors out
with a logon failure message.
C:\>copy Centricity_Extract_EPI_1.txt \\gbi-test\temp
Logon failure: unknown user name or bad password.
0 file(s) copied.
I have two questions:
1. How can I pass the username and password as arguments in the Copy command?
2. Can I embed the command in a .bat file and execute it as part of my build script.?