This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / System Interface / File System /

CopyDirectory

FilledSmallSquare CopyDirectory["", ""] copies the directory to .

FilledSmallSquare must already exist; must not.

FilledSmallSquare CopyDirectory copies all the files in to .

FilledSmallSquare CopyDirectory sets the modification dates for and for all the files in it to be the same as those for .

FilledSmallSquare CopyDirectory returns the full name of the directory it copies to, and $Failed if it cannot complete the copy.

FilledSmallSquare See Section 2.12.6.

FilledSmallSquare See also: RenameDirectory, CreateDirectory, DeleteDirectory.

FilledSmallSquare New in Version 2.