Skip to main content
Roberty Studio
RPAFile Management

Copy files

Copy files

Copies a file or directory from a source location to a destination location in the file system. It allows you to automatically replace files with the same name at the destination.


Options​

Origin path​

Enter the full path of the file or directory that will be copied, including the file name and extension. Example: C:\Desktop\document.pdf.

Destination path​

Enter the full path where the file or directory will be copied to, including the file name and extension at the destination. Example: C:\Desktop\New_Folder\document.pdf.

Replace file of the same name?​

Defines whether the existing file at the destination with the same name must be replaced. The options are:

  • Yes: Replaces the existing file at the destination.
  • No: Keeps the existing file and does not perform the copy (default).

Returns​

This action has no returns.

Rules and Conditions​

  • The Origin path and Destination path fields are required.
  • The origin path must correspond to an existing file or directory.
  • If the destination does not exist, the action will try to create it.
  • If Replace file of the same name is set to No and a file with the same name already exists at the destination, the action ends without performing the copy.