DeleteFolder

deletefolder [<folder path>] (<move to recycle bin?>)

Deletes a folder and all its contents.

Parameters:

  1. The absolute path of the folder to be deleted.
  2. True or false for whether the folder should be moved to the recycle bin. The default value is true. If false is specified, the folder will be permanently deleted with no undo.