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



FilledSmallSquareDeleteDirectory["dir"] deletes the specified directory.

FilledSmallSquareDeleteDirectory["dir", DeleteContents -> True] deletes dir and all files and directories that it contains.

FilledSmallSquareDeleteDirectory["dir"] deletes the directory dir only if it contains no files.

FilledSmallSquareDeleteDirectory returns Null if it succeeds in deleting a directory, and $Failed if it fails.

FilledSmallSquare See The Mathematica Book: Section 2.11.6.

FilledSmallSquare See also: CreateDirectory, DeleteFile.