The file Ben pointed out contains your local preferences. A few versions ago, the default starting location was changed so that Octave will always start in your home folder (on Windows, this would be C:\Documents and Settings\james\). I found it more convenient to have the program start in the same location as the shortcut I made for Octave, and I would just copy an Octave shortcut to the base folder of each project I was working on.
the command for Octave to default to your home folder is in the global settings file, located at
- octave-home
/share/octave/site/m/startup/octaverc
you'll see the last line
cd(getenv('USERPROFILE'))
I always comment this line out (put a ## in front of it). Then I open the properties on the Octave shortcut and blank the 'start in' location. This causes the program to start wherever the shortcut is located.
then as I said, I drop an Octave shortcut at the root of any project folder i'm
working in. maybe a bit cumbersome, but it works for me.
nickj