FileRecycleEmpty

Empties the recycle bin.

FileRecycleEmpty , DriveLetter

Parameters

DriveLetter

If blank or omitted, the recycle bin for all drives is emptied. Otherwise, specify a drive letter such as C:\.

Error Handling

[v1.1.04+]: This command is able to throw an exception on failure. For more information, see Runtime Errors.

ErrorLevel is set to 1 if there was a problem or 0 otherwise.

Remarks

This commands requires that MS Internet Explorer 4 or later be installed.

FileRecycle, FileDelete, FileCopy, FileMove

Examples

Empties the recycle bin of the C drive.

FileRecycleEmpty, C:\