Copy Control Room file action
- Updated: 2022/11/18
Copy Control Room file action
The Copy Control Room file action in the File package enables you to copy a Control Room file to a specific location.
Settings
- In the Control Room file field, specify the
file to copy. Select one of the following options to copy a file
from the Control Room repository:
-
Static file path: Enables you to
browse the Control Room repository and select
the file. Use this option when the file path is static.Note: When you browse the Control Room repository using Static file path, files with the .bot extension are not displayed.
-
Dynamic file path: Enables you to
browse the Control Room repository and select
the file. In addition, it also enables you to insert
variables in a file path to copy a file from the Control Room repository where the file path is
dynamic. You can insert a variable that holds the entire file
path or part of the file path.
For example, C:\user\My Docs\test.csv or C:\user\My Docs\$fileName$
-
Static file path: Enables you to
browse the Control Room repository and select
the file. Use this option when the file path is static.
- In the Target file path field, specify the
path to the location where you want to save the file. You can
insert a variable that holds the entire file path or part of the
file path.For example, C:\user\My Docs\test.csv or C:\user\My Docs\$fileName$Note: If the folder structure does not exist, the bot creates all the folders as needed.
- Select True or False, or insert a Boolean variable to specify whether to overwrite the existing file.