Share this page

# IOA.delete

Deletes the specified folder or file.

If a folder is specified, deletes all the files in the folder, including sub-directories.

    IOA.delete(path);

## Arguments

path. (string) The absolute path of the folder or file.

## Return value

A promise that will be fulfilled with no arguments.

## Example

Copy code

    IOA.delete(TC.outputDir + "mydir").then(function(){
      TCA.done();
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: