Avatar of smart Z
smart Z

asked on 

script

hello experts,

I want to copy contents from one share in Server A to another share in a different server B. When I am in folder explorer and type the unc path like \\serverA\folder  and ServerB\Folder it works fine.

By when I put the copy line in the batch file.

Robocopy \\serverA\Folder \\serverB\Folder /Copyall

I get a message that it could not find the source patch. why is that? I am login to server with my admin account so I have access to shares.

Is there a better way to do this?

Thanks,
VB ScriptWindows BatchMicrosoft Server OS

Avatar of undefined
Last Comment
zalazar

8/22/2022 - Mon