xcopy c:\olddocs d:\newdocs /E /H /O /E - Copies folders and subfolders, including empty ones. /H - Copies hidden and system files also. /K - Copies attributes. Typically, Xcopy resets read-only attributes. /O - Copies file ownership and ACL information. /X - Copies file audit settings (implies /O).
Copy files / folders & retain permissions Print
Created by: Aaron Allien
Modified on: Thu, Jan 20, 2022 at 9:22 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.