File & Folder: Delete file

Delete a file.

Help Centre › Building Processes

Delete a file.

Add it to a process

In the process designer, open the Add step tab. Find Delete file under File & Folder › File Operations, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathYesEnter the file path, or use a variable such as {folders::desktop::path}\file.txt.

See all File & Folder steps.

Errors

ErrorDescription
File not foundThe specified file does not exist.
File in useThe file is locked by another application.

Tips

  • Close the file before attempting to delete it.
  • This action permanently deletes the file – it does not go to the recycle bin.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.