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?