We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Home > [Scripting Reference](Scripting Reference) > path.getrelative
The path.getrelative function computes a relative path from one directory to another.
#!lua p = path.getrelative("src", "dest")
src is the originating directory, dest is the target directory. Both may be specified as absolute or relative.
A relative path from src to dest.