Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > File Operations >

CopyFile

CopyFile["file1", "file2"]
copies file1 to file2.
  • file1 must already exist; file2 must not.
  • CopyFile sets the modification date for file2 to be the same as for file1.
  • CopyFile returns the full name of the file it copies to, and $Failed if it cannot do the copy.
New in 2
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team