From: Frederik Fouvry

Subject: Re: changing directory

Date: 2002-11-4 9:49


,-- On Fri, 01 Nov, Lois Wolf wrote:
| 
| Frederick Fouvry wrote:
| 
|     Can anyone tell me what is actually the proper way to change the
|     working directory in Common Lisp?  Is setting
|     *default-pathname-defaults* OK?  
| 
| (setf *default-pathname-defaults* ...)
| 
|     (I need it to get a proper load path, so chdir won't do.)
| 
| In Allegro CL,  you can also use the :cd top-level command to change
| the value of *default-pathname-defaults*

I tried that but it only worked under certain circumstances
(because it's a top-level command after all ...).

In the meantime I found what looks like a proper way to do what I
wanted to do (without need to change the directory).

Thanks for the help/confirmation anyway,

-- 
Frederik Fouvry     Universität des Saarlandes, Computerlinguistik
Gebäude 17/3.02 - Postfach 15 11 50 - D-66041 Saarbrücken, Germany
telephone: +49(0)681 302 4176        facsimile: +49(0)681 302 4700
<coli.uni-sb.de at fouvry>           http://www.coli.uni-sb.de/~fouvry/