Passing user name and password in a batch file

J

Joe

Hi all,
I wasn't sure where to post this but here goes.

I need to copy a file from a central location to 20
different servers with 20 different passwords. I want to
use a copy statement in a batch file but it fails on
username and password.
does anyone know how to pass a username and password thru
a batch file?

Thank you,
Joe
 
T

Torgeir Bakken \(MVP\)

Joe said:
I need to copy a file from a central location to 20
different servers with 20 different passwords. I want to
use a copy statement in a batch file but it fails on
username and password.
does anyone know how to pass a username and password thru
a batch file?
Hi

You might get something to work using a Runas wrapper utility or similar,
take a look here:

http://groups.google.com/[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top