std-findfile-paths | ![]() |
std-findfile-paths searches for the filename in all directories of the argument path-lst, which is normally the return value of (std-acad-library-paths) or its extended with a private application directory.
It searches for fspec in each directory for the given path-lst argument and returns the first matching filename.
If fspec contains an absolute path it searches only in this path and ignores the path-lst argument. If fspec contains a relative path it adds this relative path to each element of path-lst.
(std-findfile-paths "MYAPP.LSP"
(cons *my-appdir* (std-acad-library-paths)))
=> searches first in the appdir and then in the library path
fspec: a filename specifier which might include wildcards and a path.
path-lst: a list of paths, with or without ending slash.
The first found matching filename.
None.
(std-require 'STDFILE)
Defined in STDFILE