Empty Recycle Bin
Empties the Recycle Bin for a specified drive or for all of the drives on a computer.
Privileges
Normal
Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Drive Letter | String | No | The drive for which to empty the Recycle Bin. |
| Empty Recycle Bin for All Drives | Checkbox | No | Empty the Recycle Bin for all of the drives on a computer. |
Output Parameters
| Name | Type | Description |
|---|---|---|
| Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
| Name | Type | Required | Example |
|---|---|---|---|
| Drive | String | Yes | C: |
| Empty Recycle Bin for All Drives | Checkbox | No | Optionally empty recycle bin for all drives on device. |
