Empties the recycle bin.
FileRecycleEmpty ( ["drive"] )
Parameters
source | [optional] The drive letter to empty - if omitted the recycle bin for all drives is emptied. |
Return Value
Success: | Returns 1. |
Failure: | Returns 0 (the bin cannot be emptied - see below). |
Remarks
For this function to work IE4+ must be available.
Related
FileDelete, FileRecycle
Example
FileRecycleEmpty("C:\")