Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Directories & Directory Operations >

CopyDirectory

CopyDirectory["dir1", "dir2"]
copies the directory dir1 to dir2.
  • dir1 must already exist; dir2 must not.
  • CopyDirectory sets the modification dates for dir2 and for all the files in it to be the same as those for dir1.
  • CopyDirectory returns the full name of the directory it copies to, and $Failed if it cannot complete the copy.
New in 2
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team