xcopy — Export ResultsIT technician command center
Windows CMD · Windows Command Line

xcopy — Export Results

Export the output of xcopy for documentation or review.

Copy-ready commandxcopy — Export Results
xcopy C:\Source D:\Backup /E /I /H
Production warning

Review destructive switches before running commands that modify files or services.

Requirements and permissions

Requirements
Windows 10/11 or Windows Server
Permissions
Varies by command
Last reviewed
2026-07-31

Examples

Export Results

Export the output of xcopy for documentation or review.

xcopy C:\Source D:\Backup /E /I /H

Original command

Copy files and folders including hidden files.

xcopy C:\Source D:\Backup /E /I /H

Common errors

Command not found

Confirm Windows 10/11 or Windows Server is installed and available in your current shell.