std-make-pathname


Synopsis

(std-make-pathname <strlist>)

Description

std-make-pathname joins all given components of a partial or full pathname specifier into a valid full file name. Possible components are

1) The driveletter and a colon

1) multiple path elements, joined with the slash-character,

2) the filename,

3) the extension including the dot.

There is no case conversion done. Supported platforms are Dos, Windows, Unix and OS/2.

Paths are processed as with std-filename-split, see there.

The file does not need to exist actually, so there may arise problems with directories containing a dot and other ambiguities. It does not call findfile.

This is some advantages over a simple strcat.

For details see below:

Examples

missing

Arguments

fname: a string. A partial or fully qualified filename specifier.

Return Value

A list of strings.

Side Effects

See std-fpslash.

Module

(std-require 'STDSTR)

Defined in STDFILE