Search path for applications

Bengt Kleberg (AL/EAB) bengt.kleberg@REDACTED
Fri Jan 30 13:59:18 CET 2004

Inswitch Solutions - Erlang Evaluation wrote:
> Hi,
>  From anywhere I can run erl.exe and execute application:start(mnesia)
> I would like to have my applications under c:/myRoot/lib and also 
> execute application:start(myapplication).

this seems to indicate that you are running windows. i do not have 
access to windows, so please take my advice with a large grain of salt.

> By default all Erlang applications are searched under lib subdirectory 
> of Erlang installation root directory.
> Does someone know how to add another search path for applications?
> Should I add something to my start.script?

if you are in an erlang program already, you have

if you are starting erlang you have
erl -pa c:/myRoot


More information about the erlang-questions mailing list