DeleteFile
DeleteFile["file"]
deletes a file.
DeleteFile[{"file1","file2",…}]
deletes a list of files.
Details
- DeleteFile returns Null if it succeeds in deleting files, and $Failed if it fails.
- File["path"] may be used to specify a file name.
Examples
open allclose all
Wolfram Research (1991), DeleteFile, Wolfram Language function, https://reference.wolfram.com/language/ref/DeleteFile.html (updated 2016).
Text
Wolfram Research (1991), DeleteFile, Wolfram Language function, https://reference.wolfram.com/language/ref/DeleteFile.html (updated 2016).
CMS
Wolfram Language. 1991. "DeleteFile." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/DeleteFile.html.
APA
Wolfram Language. (1991). DeleteFile. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DeleteFile.html