## File::Exists method


Determines if the specified path references an existing file.

```cpp
static bool System::IO::File::Exists(const String &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | The path to test |

### ReturnValue

True if the **path** references an existing file, otherwise - false

## See Also

* Class [String](../../../system/string/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
