File & Folder: Create batch file

Create a batch script file.

Help Centre › Building Processes

Create a batch script file.

Add it to a process

In the process designer, open the Add step tab. Find Create batch 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.
Batch file commandsYesThe batch commands to write to the file. Each line is a separate command.

See all File & Folder steps.

Errors

ErrorDescription
Path invalidThe file path is invalid

Tips

  • Creates a .bat file with the specified commands
  • Use file-execute-bat to run it afterwards

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.