Makes a pathname.
common-lisp
make-pathname &key host device directory name type version defaults case => pathname
| host⇩ |
A valid physical pathname host. |
| device⇩ |
A valid pathname device. |
| directory⇩ |
A valid pathname directory. |
| name⇩ |
A valid pathname name. |
| type⇩ |
A valid pathname type. |
| version⇩ |
A valid pathname version. |
| defaults⇩ |
A pathname designator. |
| case⇩ |
One of :common or :local. |
| pathname |
A pathname. |
The function make-pathname and its use of host, device directory, name, type, version, defaults and case are as specified in ANSI Common Lisp with some extensions.
On Windows, when host that is a string with more than one character (so cannot be a drive character), or defaults is an UNC pathname, then make-pathname returns an UNC pathname. See 27.18.5 Windows UNC pathnames (Windows only) for a discussion of UNC pathnames on Windows.
make-pathname in the Common Lisp HyperSpec
27.18.5 Windows UNC pathnames (Windows only)
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:15