Forum Discussion

Christopheo's avatar
Christopheo
Iron Contributor
Jul 31, 2024

Robocopy Command Line Interface (CLI)

```bat

C:\Windows\System32>robocopy D:\Intel\ C:\Robotest\ /E /L

Result: no errors

C:\Windows\System32>robocopy D:\Intel\ C:\Robotest\ /E /L /COPYALL

Result: no errors

 

Exploring the content in the D drive:

C:\Windows\System32>robocopy D:\____________Backup\Home C:\Robotest\ /E /L /COPYALL

 

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

ROBOCOPY :: Robust File Copy for Windows

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

 

Started : Monday, August 7, 2023 12:13:08 PM

Source - D:\____________Backup\

Dest - C:\Windows\System32\Items\Home\

 

Files :

Options : /DCOPY:DA /COPY:DAT /R:1000000 /W:30

 

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

 

ERROR : Invalid Parameter #3 : "C:\Robotest"

 

Usage Example: ROBOCOPY source destination /MIR

 

source :: Source Directory (drive:\path or \\server\share\path).

destination :: Destination Dir (drive:\path or \\server\share\path).

/MIR :: Mirrors an entire directory tree.

 

For more usage information, run ROBOCOPY /?

 

 

*Note: /MIR can DELETE files in addition to copying them!*

 

C:\Windows\System32>

 

Q: Why is robocopy not accepting the destination directory, "C:\Robotest", as it did before? What could be the solution?

```

No RepliesBe the first to reply