dos_absolutepath - dalefugier/DOSLib GitHub Wiki

Creates an absolute path from one file or folder to another.

Syntax

(dos_absolutepath path_from path_to)

Parameters

path_from

A string that contains the path that defines the start of the absolute path.

path_to

The relative path to convert to an absolute path.

Returns

A string containing an absolute path or filename if successful.

nil if not successful or on error.

Examples

Command: (dos_absolutepath "C:\\Program Files\\AutoCAD 2019\\" "..\\..\\Drawings\\Xrefs\\")
"C:\\Drawings\\Xrefs"