deleteDirectory

Description

Deletes a dir. It also returns "true" if the directory was deleted successfully and "false" otherwise. Directory must be empty.

Parameters

Return Type

boolean (true/false)

Example

deleteDirectory("C:/tmp/MYDIR");

It is recommended that you use forward slashes ( / ) for file paths.

See also