Send File to Recycle Bin

This object sends the selected file to the recycle bin.



Input Parameters

Name Type Required Description
File Path String Yes This is the full path and file name to be sent to the recycle bin.

This accepts wildcards, so the format can be entered as one of the following:
  • "c:\temp\*.*"
  • "c:\temp\file.txt"
  • "c:\temp\file.*"

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

Name Type Required Example
File Path String Yes C:\temp\*.*