Copying Hidden Files from Read only Source.
|
Original Message
|
Name: David
Date: August 27, 2000 at 05:53:36 Pacific
Subject: Copying Hidden Files from Read only Source. |
Comment: Subject says it all. I am trying to copy some files that are hidden, Sytem, and Read-Only files. The source I am trying to copy from is read only. I am unsure how to copy these files because I haven't used Dos in over a year now. I you know how please tell me.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: David
Date: August 27, 2000 at 05:58:15 Pacific
Subject: Copying Hidden Files from Read only Source. |
Reply: (edit)By the way I am using the DOS Version that came with WIN 98. 7.10 I think. I can't do the copy in windows because the drive isn't recognized in windows.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Jon Fox
Date: August 27, 2000 at 09:12:17 Pacific
Subject: Copying Hidden Files from Read only Source.
|
Reply: (edit)"attrib < filename > -s -r -h" Clear attributes. "copy < filename > < destination >" Copy file. "attrib < filename > +s +r +h" Set attributes.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Preston
Date: August 27, 2000 at 12:10:31 Pacific
Subject: Copying Hidden Files from Read only Source. |
Reply: (edit)David, I think you're asking the impossible. If your device is read only, then you cannot change the hidden attribute so copy can "see" the file. Without being able to change the attributes, then copy will not copy it. So I'd say you can't do this. Either find a way to change the attributes on your read only device or look for software other than copy.
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: Christian
Date: August 27, 2000 at 14:27:12 Pacific
Subject: Copying Hidden Files from Read only Source. |
Reply: (edit)If you want to copy the files and keep them read-only: xcopy /h If you want to remove the read-only attribute while copying, use /h /k
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: