Skip to main content

Delete File

Command description

Delete the file at the specified path.

Command Input Parameters

input parametersInput parameter typeDescription
File PathstrFull path of the file to delete, such as C:\xx

Command Output Parameters

None

Edge Cases

  • If the path does not exist, the command finishes without reporting an error.
  • If File Path points to a folder, the current implementation recursively deletes that folder and all its contents. Verify the path before running the command.

Example