Link to home
Start Free TrialLog in
Avatar of centurian102
centurian102

asked on

Getting past a locked file with robocopy

I am running this command on my backupserver to mirror a drive.

robocopy \\cntyserver\d$ E:\ /mir

the only problem is on one folder I get this

error 33 then a file name,

process cannot access the file because another process has locked a portion of the file. How do i get past this? Can I skip these locked files?
Avatar of sirbounty
sirbounty
Flag of United States of America image

place a /zb on the end...

robocopy \\cntyserver\d$ E:\ /mir /zb

zb is backup/restartable mode...
Avatar of centurian102
centurian102

ASKER

I still get a

"the process cannot access the file because it is being used by another process.
waiting 30 seconds...
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Works great, thanks
Happy to help. Thanx for the grade! :^ )
This helped me as well.  Great solution.  Thank you!