Copying files from one media to another results in "read only"

  • Thread starter Thread starter joeB
  • Start date Start date
J

joeB

I currently have two computers running Windows XP Pro SP2. They are
connected via ethernet, peer-to-peer. I am trying to move about 3 gigabytes
of files from one machine to another by copying them over the network. I am
able to do this successfully, however, the copied files are all set as "read
only" on the destination computer. How can I copy these files so that they
do not show up as "read only" versions on the destination computer? Thanks
for your help!
 
First, they must not be read only in the original file (copy to a folder, and
change them with the 'attrib' utility)
Second, use the /K switch of XCopy to copy the files to the destination.

Let's say E: is your DVD drive, and your local C: drive has a "C:/ready'
folder. You want to copy without read-only to the other machine,
"//them/d:/there/"

xcopy E:/*.* C:/ready/ /s
attrib -r C:/ready/*.* /s
xcopy c:/ready/*.* //them/d:/there/ /s /k
--
Was this post helpful to you? Then click the "Yes" button, below.
Voting helps others who use the web interface.
Mark L. Ferguson



"joeB" wrote:

> I currently have two computers running Windows XP Pro SP2. They are
> connected via ethernet, peer-to-peer. I am trying to move about 3 gigabytes
> of files from one machine to another by copying them over the network. I am
> able to do this successfully, however, the copied files are all set as "read
> only" on the destination computer. How can I copy these files so that they
> do not show up as "read only" versions on the destination computer? Thanks
> for your help!
 
Back
Top