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 /


FilledSmallSquare DeleteFile["file"] deletes a file.

FilledSmallSquare DeleteFile["", "", ... ] deletes a list of files.

FilledSmallSquare DeleteFile returns Null if it succeeds in deleting files, and $Failed if it fails.

FilledSmallSquare See Section 1.11.2 and Section 2.12.6.

FilledSmallSquare See also: RenameFile, DeleteDirectory.

FilledSmallSquare New in Version 2.