You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mba105 edited this page Sep 24, 2014
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > path.rebase
path.rebase
The path.rebase function takes a relative path and makes it relative to a different location.
#!lua
path.rebase("path", "oldbase", "newbase")
Parameters
path is the relative path to conver. oldbase is the original base directory, from which path is relative. newbase is the new base directory, from where the resulting path should be relative.