FileRecycleEmpty - Syntax & Usage | AutoHotkey

AutoHotkey

FileRecycleEmpty

Empties the recycle bin.

FileRecycleEmpty , DriveLetter

Parameters

DriveLetter

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

ErrorLevel

[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.

Related

FileRecycle, FileDelete, FileCopy, FileMove

Example

FileRecycleEmpty, C:\