# Path Exists

> `UiPath.Core.Activities.PathExists`

`UiPath.Core.Activities.PathExists`

## Description

Checks if the specified path exists. The path can represent a file path or a directory path.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

## Cross-platform configuration

* **PathType** - Checks if the specified path exists. The path can be to either a file, or a directory. Select one of the two available options.
* **Path** - The full path to be checked.

#### **Advanced options**

**Output**
* **Exists** - States if the document or file was found.
* **Reference if path exists** - Reference to the path for use in other activities.

## Windows - Legacy, Windows configuration

#### **Properties panel**

#### **Common**

* **DisplayName** - The display name of the activity.

#### **Input**

* **Path** - The full path to be checked.
* **PathType** - Checks if the specified path exists. The path can be to either a file, or a directory. Select one of the two available options.

**Output**
* **Exists** - States if the document or file was found.
* **Reference if path exists** - Reference to the path for use in other activities.

#### **Misc**

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.
