Activities
latest
false
Banner background image
Workflow Activities
Last updated Apr 22, 2024

CreateFile

Creates an empty file in the specified location. If a file already exists at that location, it is replaced. If you want to create a file in which you want to write, it is recommended to use the AppendLine method.

Definition

Namespace: UiPath.Activities.System.API

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

CreateFile(String, String)

ILocalResource CreateFile(
	string name,
	string path
)ILocalResource CreateFile(
	string name,
	string path
)
name String
The name of the file to be created.
path String
The full path of the file to be created.

Return value

ILocalResource

The file created by the activity.

  • Definition
  • CreateFile(String, String)
  • Return value

Was this page helpful?

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