std-probe-file | ![]() |
STD-PROBE-FILE checks if the file exists. It is similar to std-file-exist-p and implemented to be compatible to Common Lisp. It returns the filename of the existing file or nil. On filesystems supporting symbolic links and revisions (Unix, NT 5.0 with DFS) the true name should be returned which is not necessarily the given argument.
(std-probe-file "d:/acad/test.lsp") => "d:\\acad\\test.lsp" or nil (std-probe-file "test.lsp") => "test.lsp" or nil
fname: a string. A partial or fully qualified filename specifier.
The existing filename or nil.
None.
(std-require 'STDFILE)
Defined in STDFILE