0
$\begingroup$

This question already has an answer here:

I create Mathematica application. For example testPrj. Now I want load this application for test. Here is a problem: how can I setup environment for loading my application with simple <<testPrj?

First what I try is to add to a $Path path of my application. But it should be done every time after loading Mathematica (any notebook).

PS: My application has a custom way and it is better not to change

$\endgroup$

marked as duplicate by Öskå, C. E., RunnyKine, Michael E2, Mr.Wizard Aug 6 '14 at 17:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    $\begingroup$ You can use init.m to change the path in Mathematica automatically when Mathematica starts up. $\endgroup$ – C. E. Aug 6 '14 at 10:16
  • $\begingroup$ @Pickett where I can find that file? $\endgroup$ – molekyla777 Aug 6 '14 at 10:32
  • $\begingroup$ @molekyla777 Check out the link I gave you! "Possible locations of init.m include the following...." $\endgroup$ – C. E. Aug 6 '14 at 10:34
2
$\begingroup$

In order to do something at startup, like adding a path so that Mathematica can find certain files, you need to use init.m.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.