Command description
Copy the specified file into the destination folder and return the absolute path of the copied file.
| input parameters | Input parameter type | Description |
|---|
| Source File | str | Full path of the file to copy, such as C:\xx |
| Destination Folder | str | For example C:\abc |
| Conflict Handling | enum | Overwrite, Do Not Copy, Add Suffix Automatically; determines how to handle a name conflict in the destination folder |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|
| Path | str | The full path of the copied file, such as C:\abc\xx |
Edge Cases
- The command reports an error if the source file does not exist. Use "Copy Folder" when the source is a folder.
- The destination folder is created automatically if it does not exist. The command reports an error if the destination path is an existing file.
- If the destination already contains a path with the same name, Overwrite replaces it, Do Not Copy leaves it unchanged and returns its path, and Add Suffix Automatically creates a new path with a timestamp suffix.