[Maxima] chdir equivalent?
robert.dodier at gmail.com
Mon Oct 1 18:24:36 CDT 2007
On 10/1/07, Daniel Lakeland <dlakelan at street-artists.org> wrote:
> I believe that Lisp doesn't have a portable notion of a current
> directory, instead there is the concept of a pathname, so I'm not even
> sure what to do to change the working directory from lisp.
> In any case, the main issue is that I want to have the draw2d output
> go to a more reasonable current directory rather than c:\windows.
I'm assuming you have the prepackaged Windows installation,
which is compiled with GCL.
It appears that GCL has a function SYSTEM:CHDIR.
:lisp (system:chdir "foo")
More information about the Maxima