Copy path
Description
Copies either a file or folder at the input path from to the input to and outputs the copy's path
Input Ports
Name | dataType | sourceType | required | description |
---|---|---|---|---|
Path from | text | link-manual | true | The targeted path of the folder or file that will be copied |
Path to | text | link-manual | true | The targeted path to where the folder or file will be copied to |
Next name | text | link-manual | true | The name of the file that are being copied, the file extension must be specified |
Overwrite existing | boolean | manual-only | false | Option to overwrite any existing files and folders with the same name |
Scenarios
- The user wants to copy a file from one folder to another
- The user wants to copy folders from one destination to another
Use case
Inputs
- Path from:
C:/Users/admin/Desktop/example.txt
- Path to:
D:/banking-details/
- Next name:
new-name.txt
- Overwrite existing:
checked
Experienced tips
- The
next name
must have the correct extention - If the
path to
orpath from
is undefined, the process will stop and you will get the following errorPath is required
- If the folder does not exist, it will automatically be created at the
path to
specified - If the
overwrite existing
option is notchecked
and the file already exists, then the process will stop and you will get the following errorDestination path already exists
Search Tags
Copy file
Copy folder