this.path
The three most important functions from this package are this.path
,
this.dir
, and here
.
this.path()
returns the
normalized
path of the executing script.
this.dir()
is a shorter way of writing
dirname(this.path())
, returning the
normalized
path of the directory in which the
executing script is located.
here()
constructs file paths relative to the executing script's
directory.
The main functions from this.path:
this.path
,
this.dir
, here
this.path
and this.dir
variants:
this.path2
,
this.dir2
, this.dir3
Check this.path()
is functioning correctly:
check.path
,
check.dir