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

  • DeleteFile[" file "] deletes a file.
  • DeleteFile[ " ", " ", ... ] deletes a list of files.
  • DeleteFile returns Null if it succeeds in deleting files, and $Failed if it fails.
  • See the Mathematica book: Section 1.11.2Section 2.11.6.
  • See also: RenameFile, DeleteDirectory.