Question

Asked:
Asked By:
Jan 2 2009   12:38 AM GMT
Itsonlyme4   5 pts.

Passing credentials with xcopy


DOS Batch

a need to write a windows DOS script in order to automate copying a couple files over out AD network. I can certainly set this up using Windows scheduler, but I need to be able to call this .bat file which would copy the file using a third party scheduler software (ESP). what I'm trying to figure out is how to pass the credentials I need to be able to copy the files. The files are being copied from one windows server to another. aany help would be much appreciated

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



xcopy doesn't have a way to pass in parameters for the remove machine. You would need to setup the remote scheduler to launch the batch file under the correct credentials.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Microsoft Windows.

Looking for relevant Microsoft Windows Whitepapers? Visit the SearchEnterpriseDesktop.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register