close
xcopy c:\olddocs c:\newdocs /O/X/E/H/K,然後按下 ENTER 其中 olddocs 是來源資料夾而 newdocs 是目的地資料夾
/E - 複本資料夾及子資料夾包括空的。
/H - 隱藏的副本,而且也檔案系統。
/K - 複本屬性。通常,Xcopy 重設唯讀屬性。
/O - 複製檔案擁有權] 和 [ACL 資訊。
/X - 複製檔案稽核設定 (暗示/O)。
翻譯的完全看不懂在寫啥, 加了/X參數也會有問題, 還是看英文吧!!
/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).
http://support.microsoft.com/kb/323007
全站熱搜
留言列表