File & Folder: Close file

Close a file or application.

Help Centre › Building Processes

Close a file or application.

Add it to a process

In the process designer, open the Add step tab. Find Close 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.
Save before closingNoSave the file before closing it

See all File & Folder steps.

Errors

ErrorDescription
File not openThe file is not currently open

Tips

  • Closes a previously opened file
  • Always close files when done to release system resources

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.