Help Centre › Building Processes
This article describes the RPA File functionality to create a new BATCH file.
For a full list of available functions, please read FILE functions.
Description
The FILE Create a new BATCH file function allows you to create a new BATCH file.
Setting it up
To use the FILE Create a new BATCH file function, follow these instructions:
{{popups:rpas/add:action=file-add-bat}}
Once on a process map:
- Navigate to the process where you would like to add the FILE Create a new BATCH file function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the FILE Create a new BATCH file option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File | Yes | Text | - | The path for the batch file |
| Batch file commands | Yes | Textarea | - | The batch file commands to write |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Path invalid | The file path is invalid |
Tips
- Creates a .bat file with the specified commands
- Use file-execute-bat to run it afterwards