# getExecDir {#getExecDir}

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

## Syntax {#syntax}

`getExecDir()`

## Arguments {#arguments}

None

## Details {#details}

Get the absolute path of the directory where the dolphindb executable file is located.

**Return value:**a STRING scalar.

## Examples {#examples}

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

