Run Action Icon

Remove Folder Action

Declaration

<AMREMOVEFOLDER FOLDER="text">

See Also

Copy File, Rename File, Delete File, Change Folder, Create Folder

Description

Removes a folder or tree of folders. If the folder specified contains sub-folder then they will also be removed.

Practical Usage

See description.

Parameters

General Tab

Folder
Text, Required
MARKUP:
a) FOLDER="c:\foldernametodelete\"
b) FOLDER="c:\foldernametodelete\subfoldername"

Specifies the folder(s) to delete.

Notes

Standard Error Handling Options
This action also includes the standard "Error Causes" and "On Error" failure handling options/tabs

More on Error Handling Options

Variables and Expressions
All text fields allow the use of expressions by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, a popup expression builder is available in all these fields by pressing F2.
More on variables...

More on expressions...

More on the expression builder...

Example

<AMREMOVEFOLDER FOLDER="c:\folder1\">

<AMREMOVEFOLDER FOLDER="c:\folder1\subfolder\">