Project

General

Profile

Actions

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

Updated by Per Amundsen over 1 year ago · 3 revisions

Also available in: PDF HTML TXT