mihalakj
asked on
Command line copy across domains
I need to be able to copy a file via command line from a server in one win2k3 domain to another server in a different win2k domain. There is no trust between the domains, but I do have administrator credentials that I can pass in the command line to execute the copy. I checked copy, xcopy and robocopy but none of these appear to have a function that allows you to specify the username and password you would like to connect as. Any suggestions on how to do this type of copy via command line?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Solutions were provided.
Suggest: PAQ + assign points
Do not see any rationale for deletion.
Suggest: PAQ + assign points
Do not see any rationale for deletion.
ASKER
none of the provided solutions were applicable to the constraints of my script. It was not possible to pass credentials during the copy command. Its possible to pass them before the copy command, but the constraints of the script did not allow this as an option. I ended up having to scrap the script and find another way. Help was provided in good faith though, so I am not adverse to awarding points. I'm a bit new at experts exchagne so hopefully I can do this correctly. Stand by
ASKER