_Added in 1.9.0_ *$scriptdir* Returns the directory of the currently executing script. _Can be used inside text without being surrounded by white spaces.._ *Example*
; Print the script directory. //echo -ag current scriptdir is $scriptdir ; Print the script directory inside text. //echo -ag $scriptdir\somefile.ini