Use the CopyFile component

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • Copy an existing file to a new location by using the CopyFile component in RPA Desktop Design Studio.

    始める前に

    Role required: none

    このタスクについて

    You can configure the properties for the CopyFile component. For more information about these properties, see Properties of the File components.

    手順

    1. In the Toolbox pane, navigate to Utilities > File.
    2. Drag the CopyFile component to the Design surface.
    3. To configure the input fields, see by doing the following steps.
      1. Right-click the field.
      2. Click Override.
      3. Enter details for the following fields, Configure port properties.
    4. Connect the data and control ports of the CopyFile component to the corresponding ports of the other components as described in the following table.
      表 : 1. CopyFile method parameters
      Parameter Description Data port type Data type
      sourcefilePath Provide a file path to be copied, along with the file name.

      For example, C:\Users\ABC\Desktop\ Folders\Txt Files\Scripts.txt

      Data In String
      destFilePath Provide a destination file path (along with the file name), where the file should be copied.

      For example, C:\Users\ABC\Desktop\Scripts.txt

      Data In String
      overwrite Provide a True or False value. Set to True to overwrite existing files. Data In Boolean
    5. オプション: To test the component, under the DESIGN tab, click Run.