OpenWGA 7.10 - TMLScript reference

WGA » WGA.File()
Method :

deleteDir()

On object WGA.File()
Usage Deletes the directory and its content if it exists including the referenced directory itself.

See also cleanDir().

Description

Available since version 7.10.1

Return value

WGAFile for further method chaning.

Examples
WGA.File("some-dir").deleteDir()