DelDir (delete local directory)

function DelDir(what: string): boolean

This function attempts to delete the what directory from the local file-system, and returns true if the deletion is successful, or false if the function fails.


If the directory you’re trying to delete is not empty, this function fill fail. In order to delete non-empty directories, check out the DelTree function.