Hello,
I need to create a batch file to copy files from one stand alone server to another stand alone server over the Internet. The servers are not in the same domain or forest.
I would like to know how can I use the command prompt to map a drive from one computer to another and pass credentials. I know I can do "NET USE * \\SERVERNAME\SHARENAME" but because the servers are not on the same network, I need to provide a local username and password in the command.
How do I do that?
Thank you,
Arie
I need to create a batch file to copy files from one stand alone server to another stand alone server over the Internet. The servers are not in the same domain or forest.
I would like to know how can I use the command prompt to map a drive from one computer to another and pass credentials. I know I can do "NET USE * \\SERVERNAME\SHARENAME" but because the servers are not on the same network, I need to provide a local username and password in the command.
How do I do that?
Thank you,
Arie