General discussion
March 7, 2006 at 01:08 PM
computer geek

permissions and shares

by computer geek . Updated 20 years, 4 months ago

We need to move many folders from one NTFS partition to another NTFS partition on the same server. We need to maintain the permissions and shares for each folder/file. I believe going to a DOS prompt and using xcopy *.* destination /v /s /e /k /r /h /o /x will copy every file in the source folder while:
v – verifing each file
s – maintaining directory structure
e – including empty subdirectories
k – maintaining the read-only attribute
r – including the read-only files (see above)
h – hidden files
o – maintains NTFS permissions
x – sacl permissions.

Will this work if changing partitions? Am I missing or misunderstanding anything about xcopy?

This discussion is locked

All Comments