See also:
- Deleting file into the Recycle Bin
- How to retrieve number of objects in the Recycle Bin
- How to remove a directory that is not empty
- Displaying standard progress dialog box when copying files
#DEFINE S_OK 0
#DEFINE SHERB_DEFAULT 0
#DEFINE SHERB_NOCONFIRMATION 1
#DEFINE SHERB_NOPROGRESSUI 2
#DEFINE SHERB_NOSOUND 4
DECLARE INTEGER SHEmptyRecycleBin IN shell32;
INTEGER hwnd, STRING pszRootPath, LONG dwFlags
= SHEmptyRecycleBin (0, "C:", SHERB_DEFAULT)
Home 