Share via


copy (Device Management Client)

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This command copies a file or directory tree.

Syntax

copy [src filesys path] [dst filesys path]

Parameters

  • src filesys path
    Specifies the full pathname of the file or directory to copy. If a directory is specified, then all files and subdirectories it contains are copied.
  • dst filesys path
    Specifies the full pathname of the destination location of the copied data.

Remarks

This command automatically creates the destination directory for the copy if it does not already exist.

The following code example copies a file called myfile.txt to a different directory:

copy \volume\myfile.txt \volume\dir\myfile.txt

See Also

Reference

File System Commands