Project

General

Profile

$scriptdir » History » Version 3

Per Amundsen, 02/23/2023 07:38 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$scriptdir*
4
5
Returns the directory of the currently executing script.
6
7 3 Per Amundsen
_Can be used inside text without being surrounded by white spaces.._
8 1 Per Amundsen
9
*Example*
10
11
<pre>
12
; Print the script directory.
13
//echo -ag current scriptdir is $scriptdir
14
15
; Print the script directory inside text.
16
//echo -ag $scriptdir\somefile.ini
17
</pre>