activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow activities

Last updated Feb 19, 2026

MoveFile

Moves a file from a specified location to another.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

MoveFile(IResource, IResource, Boolean)

void MoveFile(
    IResource pathResource,
    IResource destinationResource,
    bool overwrite
)
void MoveFile(
    IResource pathResource,
    IResource destinationResource,
    bool overwrite
)

pathResource IResource : The path of the file (as a String) to be moved.

destinationResource IResource : The destination path (as a string) where the file is to be moved.

overwrite Boolean : When checked, overwrites the files in the destination folder with the file that is to be copied.

  • Definition
  • MoveFile(IResource, IResource, Boolean)

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.