Delete File
Delete File
Section titled “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.
How it works
Section titled “How it works”Delete the path file. If it does not exist, the activity simply continues without error.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
path | expression | Path of the file to delete. |
Optional parameters
Section titled “Optional parameters”Ninguno.
Example
Section titled “Example”Delete a temporary file when finished:
Write File path = "C:/temp/trabajo.txt" content = = datos... procesar ...Delete File path = "C:/temp/trabajo.txt"Related activities
Section titled “Related activities”- Move File — archivar en lugar de borrar.
- File Exists — comprobar antes (aunque Delete no falla si no existe).