?
Solved

Robocopy to copy files with Read-Only Attribute

Posted on 2008-10-01
3
Medium Priority
?
1,531 Views
Last Modified: 2010-04-21
Hello Experts,

I am using Robocopy to copy a bunch of files.  I received the following error:

2008/10/01 08:27:39 ERROR 5 (0x00000005) Scanning Source Directory \\irctera\usbdisk1\Current\2005 Jobs\Models\Fire Sensitivities\Jet Fires\10%sw10\10%SW10_0329.jpg\
Access is denied.

From what I read on here...this is because the files are Read-Only.  Is there a way to copy the files anyway?

thanks,
Wayne
0
Comment
Question by:thewayne73
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Justin Durrant earned 2000 total points
ID: 22615471
use the backup mode switch

/Z :: copy files in restartable mode.
/B :: copy files in Backup mode.
/ZB :: use restartable mode; if access denied use Backup mode.
0
 

Author Comment

by:thewayne73
ID: 22615653
thanks...I will give it a try after the current job is finished.
0
 

Author Closing Comment

by:thewayne73
ID: 31502005
thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question