std-findfile


Synopsis

(std-findfile <fname>)

Description

std-findfile searches for the filename in all directories of the *MODULE-PATH* and then the AutoCAD library search path.

If fspec contains an absolute path it searches only in this path and ignores the system paths.

It doesn't handle wildcards.

Examples

;;; mimic the LOAD search path
(std-findfile (std-def-extension fname "LSP"))

Arguments

fname: a filename specifier which might not include wildcards.

Return Value

The first found filename.

Side Effects

None.

Module

(std-require 'STDFILE)

Defined in STDFILE