Please enable JavaScript to view this site.

Delete and existing folder at the specified path, with option to remove content recursively.

Syntax

deleteFolder(string path, bool recursive=true, bool prune=true): bool

path

Path of the folder to be deleted

recursive

Flag to delete recursively all contained sub-folders

prune

Flag to delete all contents of any sub-folders

Result

return operation logical result

Notes:

Relative path will be referred to current directory path (see dirPath() method).

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC