DeleteFile

deletefile [<file path>] (<move to recycle bin?>)

Deletes a file.

Parameters:

  1. The absolute path of the file to be deleted.
  2. True or false for whether the file should be moved to the recycle bin. The default value is true. If false is specified, the file will be permanently deleted with no undo.