[Date Index] [Thread Index] [Author Index]
RE: Finding "start directory" with Mathematica 3.0 ?
Modify the init.m package located in 3.0\Configuration\Kernel, and call = a file of your own. This is my modification: If[$UserName=="jmt",Get["C:\\users\\jmt\\Mathematica\\AddOns\\Autoloa= d\\jmt_initm"]] (where jmt_init.m is in fact automaticaly generated by a notebook) In this package, you should customize all your paths. -----Message d'origine----- De: Axel Kowald [SMTP:axel at itb.biologie.hu-berlin.de] Date: vendredi 24 octobre 1997 07:01 =C0: mathgroup at smc.vnet.net Objet: [mg9242] Finding "start directory" with Mathematica 3.0 ? Hello everybody, I just installed Mathematica 3.0 on my NT 4 machine and wonder if there is a Mathematica command to get the "start directory" of the current notebook ? I tried $LaunchDirectory, $InitialDirectory and $TopDirectory but they all tell me where Mathematica itself lives. I want the place where the currently running notebook sits. The idea is that I want to write some datafiles into the same place where the corresponding notebook is. Any suggestions are welcomed. Axel Kowald