[rabbitmq-discuss] Suggestions for server startup script

Holger Hoffstätte holger at wizards.de
Thu Sep 6 17:35:30 BST 2007


Matthias Radestock wrote:
> Right. Ideally it would "just work" though, without having to change any
> settings. Unfortunately locating the Erlang/OTP home from a batch script
> on Windows is fairly difficult.

Maybe this will help:
http://www.pankaj-k.net/archives/2004/11/equivalent_of_w.html

C:\home\holger>which.cmd python.exe
Found in PATH: C:\Developer\Python\python.exe

Of course then someone will have a completely unrelated binary named
"erl.exe" in their path.. If no erl.exe is found and no ERLANG_HOME is set
the script can still error out.

happy .bat hacking :)

Holger





More information about the rabbitmq-discuss mailing list