DeleteDiskDirectory (open)

Delete a directory from disk

Syntax

LOADLIB "wh::files.whlib";

BOOLEAN FUNCTION DeleteDiskDirectory(STRING path)

Parameters

STRING path

Directory to delete

Return value

BOOLEAN

true on a succesful delete, false on failure

Description

This function allows you to delete a directory from disk. A directory can only be deleted when it is empty.