FileRecycleEmpty

Empties the recycle bin.

FileRecycleEmpty DriveLetter

Parameters

DriveLetter

Type: String

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

Error Handling

An exception is thrown on failure.

Related

FileRecycle, FileDelete, FileCopy, FileMove

Examples

#1

FileRecycleEmpty "C:\"