Delete Directory

Deletes a directory (or nested directories) from the file system.

 

Input Arguments

 

0

Directory Path

Directory

The directory to delete.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The directory was deleted successfully.

FAILURE

The directory could not be deleted.

 

Remarks

A nested directory can be deleted by listing multiple folders as part of the path. For example, C:\first\second\

third would delete the third directory.

Directories can be deleted relative to the running MP’s directory by using the relative path symbol. For example, to delete mySubdirectory in the current MP’s folder, use .\mySubdirectory.