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  /
RenameFile

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