# Exists(string)

> Determines whether the given path refers to an existing directory.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Windows](/engine/7000.0/script-reference/unityengine/windows.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static bool Exists(string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path to test.

### Returns

| Type                                                          | Description                                                     |
| ------------------------------------------------------------- | --------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if path refers to an existing directory. Otherwise, false. |

### Remarks

**Note:** This method is only available on the Universal Windows Platform.
