So I have a laptop on the network which has a folder shared and I am trying to mirror a folder on one laptop to the shared folder on the second machine.
Robocopy seems to be able to do the job, except that I get the message that the network share is write protected and as it isn't I am guessing it is because it needs username/password for access and you can't do that in robocopy.
So some research led me to 'net use' but the example command lines are as clear as mud - which parts are copied verbatim and which bits are to be replaced with your own values.
example command line:
NET USE \\RemoteServerName\IPC$ /u:server\user *password*
Let's pretend the remote share is \\bckup2\documents, user name is Albert, password is pwalbert
what should the command line become?
Robocopy seems to be able to do the job, except that I get the message that the network share is write protected and as it isn't I am guessing it is because it needs username/password for access and you can't do that in robocopy.
So some research led me to 'net use' but the example command lines are as clear as mud - which parts are copied verbatim and which bits are to be replaced with your own values.
example command line:
NET USE \\RemoteServerName\IPC$ /u:server\user *password*
Let's pretend the remote share is \\bckup2\documents, user name is Albert, password is pwalbert
what should the command line become?