Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Robocopy to copy files with Read-Only Attribute

Posted on 2008-10-01
3
Medium Priority
?
1,486 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

715 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