Creates an absolute, platform-appropriate path that is equivalent to the value of ‘path’, appended to the base path. This function (despite its name) can accept an absolute or relative path in the ‘path’ attribute.
expandPath(path)
returns string
Name | Type | Required | Default | Description |
---|---|---|---|---|
path | string | Yes | Relative or absolute directory reference or filename, within the current directory, (.\ and ..) to convert to an absolute path. Can include forward or backward slashes. |
expandPath("./")
expandPath("../")
expandPath("path/to/subfolder")