# cur_dir ## Function Returns the directory where the current source code file is located. ## Syntax ```bt cur_dir(complete) ``` ## Parameters | Parameters | Type | Required | Default value | Description | | ------ | ------ | ------ | ------ | ------ | | complete | Bool | No | false | Returns the complete path when true; otherwise returns the display path. | ## Return value | Type | Description | | ------ | ------ | | String | Returns the current source code directory path. | ## Example ```bt result = cur_dir() // Output: String echo(type(result)) ``` ## Notes - When called in an include file, returns the directory where the include file is located.