Skip to main content

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
)

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.