[#BloombergLP-bdls-FilesystemUtil-setWorkingDirectory-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::setWorkingDirectory :relfileprefix: ../../../ :mrdocs: Set the working directory of the current process to the specified `path`. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static int setWorkingDirectory(STRING_TYPE const& path); ---- == Description Same as the overload taking `const char *`. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *path* | filesystem path of the new working directory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#