Windows

copy

CautionCopy a file

copy <src> <dest>

Copies a single file; use xcopy/robocopy for folders or many files.

Examples

  • copy report.txt D:\backup\Copy into backup

Syntax

copy <src> <dest>

Before you run it

May overwrite a file with the same name.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store