Page 1 of 1

how to set working directory

Posted: Thu Apr 12, 2012 11:20 am
by tcleland
Hi folks --

Is there a command to set NEURON's current working directory -- i.e., a command-line equivalent to using the "File | working dir" dialog?

This seems like it should be very simple, but...

Thanks -
Thom

Re: how to set working directory

Posted: Thu Apr 12, 2012 9:12 pm
by ted
tcleland wrote:Is there a command to set NEURON's current working directory -- i.e., a command-line equivalent to using the "File | working dir" dialog?
Try chdir() (look in the alphabetical listing of the Programmer's Reference).

Re: how to set working directory

Posted: Fri Apr 13, 2012 5:42 pm
by tcleland
Ah. I knew that. Thanks Ted. Must have fallen out of my brain.

Re: how to set working directory

Posted: Fri Apr 13, 2012 9:23 pm
by ted
Once in a while somebody asks something that is easy to answer. I got lucky.