This is documentation for Mathematica 5, 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

FilledSmallSquare RenameDirectory["", ""] renames the directory to .

FilledSmallSquare must already exist; must not.

FilledSmallSquare RenameDirectory sets the modification date for to be the same as for .

FilledSmallSquare RenameDirectory returns the full new directory name, or $Failed if the directory cannot be renamed.

FilledSmallSquare See Section 2.12.6.

FilledSmallSquare See also: CopyDirectory, CreateDirectory, DeleteDirectory.

FilledSmallSquare New in Version 2.