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


RenameDirectory["dir1", "dir2"]
renames the directory dir1 to dir2.
  • dir1 must already exist; dir2 must not.
  • RenameDirectory sets the modification date for dir2 to be the same as for dir1.
Copy a directory:
List of files in the directory:
Rename the directory:
Delete the directory:
New in 2