deleteAny(path, [recursive], [move_to_trash])

Class: SwingUI.

Description:

Deletes a file or directory synchronously.

Parameters:

Name Type Default Description

path

string

Path to the directory to delete

[recursive]

boolean

false

Delete directory and its contents. (only has effect if move_to_trash parameter is false.

[move_to_trash]

boolean

false

Move file to trash instead of completely deleting it.

Returns:

Type: boolean