We help IT Professionals succeed at work.

Cannot Copy Folder Using Robocopy

cja-tech-guy
cja-tech-guy asked
on
Need some assistance with Robocopy.

I'm trying to restore files from Azure backup to my C drive using Robocopy.
This is the command I'm using:  robocopy F:\Projects\2020\2209001-PCO Lift C:\Restore From Backup\01-24-2020\Server\robocopy-test /E

I get the following error "Invalid Parameter #3 : "Robocopy-Test /E"

If I use a simple command like this: robocopy C:\folder2 C:\folder1 /E  it works fine.

What am I doing wrong?

Thanks,
cja
Comment
Watch Question

Test your restores, not your backups...
Top Expert 2016
Commented:
You need to quote the paths since they have embeded spaces.

robocopy "F:\Projects\2020\2209001-PCO Lift" "C:\Restore From Backup\01-24-2020\Server\robocopy-test" /E

Open in new window



»bp

Author

Commented:
Ok. Thanks