WLJS LogoWLJS Notebook

DeleteDirectory

DeleteDirectory["dir"] deletes the specified directory.

Examples

Delete an empty directory:

DeleteDirectory["emptyFolder"]

Delete with contents:

DeleteDirectory["myFolder", DeleteContents -> True]

Please visit the official Wolfram Language Reference for more details.

On this page