Re: How to change directory/path in SBCL?



On 29 Mrz., 15:08, Harald Hanche-Olsen <han...@xxxxxxxxxxxx> wrote:
+ "keyboard" <xiewensh...@xxxxxxxxx>:

| When I load a lisp file using the true/full path name, many files
| which have relative path to that file cannot be loaded

The usual way to deal with this is to construct the full pathname of
the files you wish to load by using

(merge-pathnames relative-path *load-truename*)

as the pathname to load.

--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell

Thank you. But is there something like clisp (ext:cd) in SBCL?

.



Relevant Pages

  • Re: How to change directory/path in SBCL?
    ... | which have relative path to that file cannot be loaded ... the files you wish to load by using ... as the pathname to load. ... the underlying posix system (which may not even exist, ...
    (comp.lang.lisp)
  • Re: How to change directory/path in SBCL?
    ... | When I load a lisp file using the true/full path name, ... | which have relative path to that file cannot be loaded ... the files you wish to load by using ... as the pathname to load. ...
    (comp.lang.lisp)
  • How to change directory/path in SBCL?
    ... directory under the SBCL system. ... When I load a lisp file using the ... true/full path name, many files which have relative path to that file ...
    (comp.lang.lisp)
  • Relative path & image
    ... is possible use relative path in access? ... Is posible don´t put a path to the picture ... in the image control? ... The Database will be move frecuntly and it will give error in the form load ...
    (comp.databases.ms-access)
  • Re: __file__
    ... you get just the filename; ... contains a relative path, that's what you get; ... Whatever path worked to find and load the module, ... you get /zot/foo.py which is a nonsense. ...
    (comp.lang.python)