RemoveDir Function

Removes a directory.

bool RemoveDir(const char[] path)

Parameters

const char[] path

Path to the directory.

Return Value

True on success, false otherwise.

Notes

On most Operating Systems you cannot remove a directory which has files inside it.