This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / System Interface / File System  /
RenameDirectory

  • RenameDirectory[" ", " "] renames the directory to .
  • must already exist; must not.
  • RenameDirectory sets the modification date for to be the same as for .
  • RenameDirectory returns the full new directory name, or $Failed if the directory cannot be renamed.
  • See the Mathematica book: Section 2.11.6.
  • See also: CopyDirectory, CreateDirectory, DeleteDirectory.