Skip to main content

Delete Folder

Command description​

Delete the folder at the specified path.

Command Input Parameters​

input parametersInput parameter typeDescription
File PathstrFull path of the folder 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.
  • The implementation uses general deletion logic: folders are deleted recursively, and a file path also causes that file to be deleted. When generating a workflow that deletes a file, prefer the "Delete File" command.

Example​