FileRecycleEmpty()

Auto Hotkey

FileRecycleEmpty

Empties the recycle bin.

FileRecycleEmpty , DriveLetter
Command  Example: FileRecycleEmpty "C:\"
Function Example: FileRecycleEmpty("C:\")

Parameters

DriveLetter

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

ErrorLevel

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.

Related

FileRecycle, FileDelete, FileCopy, FileMove

Example

FileRecycleEmpty, C:\