File System - Empty Recycle Bin
Declaration
<AMFILESYSTEM ACTIVITY="empty" SHOWCONFIRMATION="YES/NO" SHOWPROGRESSUI="YES/NO" />
Description
Permanently deletes files from the Recycle Bin.
Practical usage
Mainly used to permanently remove files from your computer and reclaim any hard disk space they were using.
Parameters
General
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Show confirmation | Yes/No | No | No | SHOWCONFIRMATION="yes" | If selected, a dialog will appear verifying whether to complete the operation of permanently deleting files from the Recycle Bin. Disabled by default. |
Show progress UI | Yes/No | No | No | SHOWPROGRESSUI="yes" | If selected, displays a progress bar used to visualize the progression of the operation. Disabled by default. |
Example
NOTE:
- Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
- To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Description
This sample task empties the Recycle Bin.
Copy
<AMFILESYSTEM ACTIVITY="empty" SHOWCONFIRMATION="yes" SHOWPROGRESSUI="yes" />