key things to mention;
Robocopy has already been installed on the workstation but I can not get the command to work.
I am not an admin user on the system..Does this matter?
Here is my sample script and error message received after attempting to run it on the command prompt;
C:\>@ECHO OFF
SETLOCAL
SET _source=\\E:\Backups Backups\backup.bkf
SET _dest=\\Y:\backup area Backups\PC\Backups
SET _what=/COPYALL /B /SEC /MIR
:: /COPYALL ::COPY ALL file info
:: /B :: copy files in Backup mode
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree
SET _options=/R:0 /W:0 /LOG:Mylogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /LOG :: Output log file
:: /NFL :: No file logging
:: /NDL :: No dir logging
ROBOCOPY %_source% %_dest% %_what% %_options%
‘ROBOCOPY’ is not recognized as an internal or external command,
operable program or batch file.
I used a sample script I downloaded and made some changes. I left the comments in there just for understanding.
What am I doing wrong?