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

Documentation / Mathematica / Built-in Functions / System Interface / File System /

RenameFile

FilledSmallSquare RenameFile["", ""] renames to .

FilledSmallSquare must already exist; must not.

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

FilledSmallSquare RenameFile returns the full new file name, or $Failed if the file cannot be renamed.

FilledSmallSquare See Section 2.12.6.

FilledSmallSquare See also: CopyFile, DeleteFile, RenameDirectory.

FilledSmallSquare New in Version 2.