Move A Directory To The Recycle Bin

A Delphi function that will move a directory to the recycle bin.

Using RecycleDir:

Parameters:

Dir: A string value specifying the name of the directory to be moved to the recycle bin.

Return Value:

The function will return the Boolean value True if successful.

If the function fails, it will return the Boolean value False.

Example: