Function Reference


FileRecycleEmpty

Empties the recycle bin.

FileRecycleEmpty ( ["source"] )

Parameters

source [optional] The rootpath to empty - if omitted the recycle bin for all drives is emptied.

Return Value

Success: Returns 1.
Failure: Returns 0 (the recycle bin cannot be emptied - see below).

Remarks

For this function to work IE4+ must be available.

Related

FileDelete, FileRecycle

Example


FileRecycleEmpty("C:\")