Command description
Copy the specified folder and all its contents into the destination folder, then return the full path of the copied folder.
| input parameters | Input parameter type | Description |
|---|
| Source File | str | Full path of the folder to copy, for example 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 folder, such as C:\abc\xx |
Edge Cases
- The command reports an error if the source folder does not exist. Use "Copy File" when the source is a file.
- 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.