startup file for xmaxima in Windows Vista



On Thu, Sep 10, 2009 at 5:08 AM, Sheldon Newhouse<sen1 at math.msu.edu> wrote:
> Hello,
> ?I normally run xmaxima in a linux environment, but I am teaching with
> it this term and all students use Windows.
>
> I have installed 19.2 and noticed that when I use the 'stringout'
> command, it attempts to save the wile in 'C:\windows\system32' ---not a
> good thing.
>
> How can I set the default folder to be in my 'Documents' foloder?

I have this in my maxima-init.mac:

chdir(dir) := ?xchdir(dir)$
chdir("/Users/andrej/")$

The function chdir allows me to later change the working directory.

Andrej