Timeline for SetDirectory - predefined directory possible?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2012 at 18:06 | comment | added | Y.P. |
I do the following: inside the directory I would like to be a working directory, create a blank mathematica notebook, and in your .bashrc or .profile, define a global variable that stores the path to the notebook. From the command line, just type mathematica $pathname/notebookname.nb & and you will have mathematica launch in the correct working directory. You can then populate the notebook. I have tested this in Unix and OS X, and I think something similar might work on Windows. The disadvantage is that this is OS based(and requires you to modify your bashrc)--breaks across machines.
|
|
Jul 27, 2012 at 15:49 | comment | added | Harald | Hi Jagra, thanks a lot, this would be possible. But, to be more flexible, I would not prefer to change some global settings... | |
Jul 27, 2012 at 15:36 | history | answered | Jagra | CC BY-SA 3.0 |