current directory in Win-XP



sen1 at math.msu.edu writes:
> Hi,
>   Is there a simple way in Win-XP to go into a directory, load xmaxima,
>   and be able to load files in the new directory?
> 
> Of course, if I know the directory in advance, I can simply add its
> full path to the file_search_maxima list.  I am looking for a
> transparent way as in Linux:
>    one needs only put
> 
>   file_search_maxima: append(file_search_maxima,["./###.{lisp,mac}"]);
> 
> into the maxima-init.mac file.
> 
> If I simply load xmaxima from the desktop, it doesn't know what the
> current directory is.  Also, if I use a command window, I can't load
> xmaxima.

By default xmaxima and maxima.bat shortcuts have empty
(unset) working directory.  But you can set this directory
manually say c:\work

After this command load("tst.mac"); will find and load
file located at c:\work\tst.mac

It works for xmaxima and console maxima but not for
wxMaxima.


-- 
      Vadim V. Zhytnikov

       <vvzhy at mail.ru>
      <vvzhy at netorn.ru>