## Directory::SetCurrentDirectory method


Sets the current directory.

```cpp
static void System::IO::Directory::SetCurrentDirectory(const String &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | The path to the directory to make current |

## See Also

* Class [String](../../../system/string/)
* Class [Directory](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
