# getWorkDir {#getWorkDir}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getWorkDir()`

## Arguments {#arguments}

None

## Details {#details}

Get the absolute path of the working directory at the time the dolphindb process is started.

**Return value:**a STRING scalar.

## Examples {#examples}

``` {#codeblock_xsq_5qw_fgc}
getWorkDir()
// output: /home/dolphindb/server/clusterDemo  
```

