Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > path.getabsolute


path.getabsolute

The path.getabsolute function converts a relative path an absolute path.

#!lua
p = path.getabsolute("path")

Parameters

path is the relative path to be converted. It does not need to actually exist on the file system.

Return Value

A new absolute path, calculated from the current working directory.

Clone this wiki locally