Error when trying to copy over the network using robocopy

3
C:\Users\Alex.Newton>robocopy /"\centlpf01cz6c\c$\Program Files\ProgramName\/" /"
\centlpf01cz6c\Program Files\TestBatch\Test\/"

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows

-------------------------------------------------------------------------------

  Started : Mon May 25 15:42:30 2015

2015/05/25 15:42:30 ERROR 67 (0x00000043) Getting File System Type of Destinatio
n \\centlpf01cz6c\Program Files\TestBatch\Test\
The network name cannot be found.

   Source : \\centlpf01cz6c\c$\Program Files\ProgramName\
     Dest - \\centlpf01cz6c\Program Files\TestBatch\Test\

    Files : *.*

  Options : *.* /COPY:DAT /R:1000000 /W:30

------------------------------------------------------------------------------

2015/05/25 15:42:30 ERROR 67 (0x00000043) Creating Destination Directory \\centl
pf01cz6c\Program Files\TestBatch\Test\
The network name cannot be found.

This is the return I get when using Robocopy - The network name exists; any help guys?

networking
batch
cmd.exe
robocopy
asked on Super User May 25, 2015 by Alex • edited May 25, 2015 by Ƭᴇcʜιᴇ007

2 Answers

1

Remove the trailing backslashes from the source and destination path names.

Note syntax from robocopy /?:

     source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir  (drive:\path or \\server\share\path).
answered on Super User May 25, 2015 by Ƭᴇcʜιᴇ007
1

I was also having a problem where I was not able to copy files in the network drive.So I started debugging point to point. I tried cmd with admin permission and PowerShell with admin permission but not able to navigate to the network drive. When I tried Powershell without admin permission then it started navigate to network drive from my machine and then robocopy command executed. So please make sure, are you able to navigate (cd Z:) to network drive (Z:) first before trying robocopy command.

answered on Super User Jun 2, 2020 by Vishwas Upadhyay

User contributions licensed under CC BY-SA 3.0