Skip to content

Delete File

Type: delete-file  ·  Package: Filesystem Activities v1.0.0

Deletes a file. If the file does not exist, it does nothing (does not crash). Use it to clean temporary files, delete already processed downloads or free up workspace.

Delete the path file. If it does not exist, the activity simply continues without error.

ParameterEditorDescription
pathexpressionPath of the file to delete.

Ninguno.

Delete a temporary file when finished:

Write File path = "C:/temp/trabajo.txt" content = = datos
... procesar ...
Delete File path = "C:/temp/trabajo.txt"
  • Move File — archivar en lugar de borrar.
  • File Exists — comprobar antes (aunque Delete no falla si no existe).