File & Folder: Check if file is password protected

Check if a document file is password protected.

Help Centre › Building Processes

Check if a document file is password protected.

Add it to a process

In the process designer, open the Add step tab. Find Check if file is password protected 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.
VariableYesName of the variable where the result will be stored

What it gives back

  • {variable}

See all File & Folder steps.

Errors

ErrorDescription
File not foundThe specified file does not exist

Tips

  • Check before attempting to open encrypted files

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.