std-truename


Synopsis

(std-truename <fname>) ; absolute and resolved path

Description

STD-TRUENAME fixes relative paths to absolute ones, paths containing "/.." and unifies all path slashes to the value of the global variable *SLASH-CHAR*.

Note: The filename need not to exist! No uppercase conversion is done.

Example

(std-truename "acad/../acad/test.lsp") 
=> "C:\\acad\\test.lsp"

Arguments

fname: a string containing a pathname.

Return Value

A string.

Side Effects

It may shell out, by calling std-current-path.

Module

(std-require 'STDFILE)

Defined in STDFILE