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 almost 2 years ago · 3 revisions

Also available in: PDF HTML TXT