Empty Recycle Bin

Empties the recycle bin of all drives on the system. Can be used as a subsequent step to empty deleted contents resulting from a Remove Folder or Delete File action.

This action is irreversible.

Declaration

<AMEMPTYRECYCLEBIN SHOWCONFIRMATION="YES/NO" SHOWPROGRESSUI="YES/NO" />

Example

<AMEMPTYRECYCLEBIN SHOWCONFIRMATION="YES" SHOWPROGRESSUI="YES" />

See Also: Change Printer, End Process, Get Process Information, Get Volume Information, Log Event, Print, Registry, Run, Set Date and Time

General Tab

Property

Type

Required

Default

Markup

Description

Show Confirmation

Yes/No

No

No

SHOWCONFIRMATION="YES"

If set to YES, a prompt will appear confirming whether you want to empty the recycle bin. If set to NO (default), the action does not prompt you before emptying the recycle bin.

Show Progress UI

Yes/No

No

No

SHOWPROGRESSUI="YES"

If set to YES, a progress bar will appear during deletion. If set to NO, the action will take place without showing a progress bar.