Problem : Robocopy Error: Invalid Parameter #3

Problem : Robocopy Error: Invalid Parameter #3

I am trying to run ROBOCOPY on a Windows 2000 server to copy files from one server to another for backup purposes.

Here is my command string:

c:\ntreskit\robocopy d:\Consumer Returns \\cbentsvr3\ntwkbkup\consumer returns /E/V/ETA/LOG+:log.log

When I submit the job I receive the following error:
ROBOCOPY v1.96: Robust File Copy for Windows NT
Started: Wed June 06 11:46:22 2007
ERROR:  Invalid Parameter #3: “\cbentsvr3\ntwkbkup\consumer”

Simple Usage :: ROBOCOPY source destination /MIR

source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir  (drive:\path or \\server\share\path).
/MIR :: Mirror a complete directory tree.

For more usage information run ROBOCOPY /? or read Robocopy.Doc.

NOTE: Read “True Replication” in Robocopy.Doc prior to first use of /MIR !
****  /MIR can DELETE files as well as copy them !

I have checked the path from the source server to the destination server to ensure that it was correct.


Solution : Robocopy Error: Invalid Parameter #3

Also, typically you need to put spaces in between switches so your command should really look like this:
c:\ntreskit\robocopy “d:\Consumer Returns” “\\cbentsvr3\ntwkbkup\consumer returns” /E /V /ETA /LOG+:log.log