Project

General

Profile

$scriptdir » History » Revision 2

Revision 1 (Per Amundsen, 08/06/2015 03:24 AM) → Revision 2/3 (Per Amundsen, 08/06/2015 03:24 AM)

_Added in 1.9.0_ 

 *$scriptdir* 

 Returns the directory of the currently executing script. 

 _Can be used inside text._ text_ 

 *Example* 

 <pre> 
 ; Print the script directory. 
 //echo -ag current scriptdir is $scriptdir 

 ; Print the script directory inside text. 
 //echo -ag $scriptdir\somefile.ini 
 </pre>