NanoTech-kw · Tech Guide Library

XCOPY CMD (Extended Copy)

Windows · CMD

Copy files and directory trees, preserving subfolders and attributes. Syntax: xcopy [source] [destination] [/e] [/i] [/h]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: xcopy [source] [destination] [/e] [/i] [/h]
  3. Brief: Copy files and directory trees, preserving subfolders and attributes.
  4. Example: xcopy C:\Docs D:\Backup\Docs /e /h /i
  5. Tip: Prefer robocopy for large or repeated copies.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →