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

Workflow activities

Last updated Mar 6, 2026

CreateFolder

Creates a folder in the specified location. If a folder with the same name already exists at the specified path, the method does nothing. If a parent folder that does not exist is specified in the path, the entire path is created.

Definition

Namespace: UiPath.Activities.System.API

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

CreateFolder(String)

ILocalResource CreateFolder(
    string path
)
ILocalResource CreateFolder(
    string path
)

path String : The full path of the directory to be created.

Return value

ILocalResource

A reference to the folder created by the activity.

  • Definition
  • CreateFolder(String)
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated