Share via


copy (Device Management Client) (Windows Embedded CE 6.0)

1/6/2010

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