<div dir="ltr">Thanks Janos. I'll take a look.<br><br>Wes<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 11, 2013 at 5:46 AM, Janos Hary <span dir="ltr"><<a href="mailto:janos.n.hary@gmail.com" target="_blank">janos.n.hary@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><div class="im"><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#202020">On Windows you can place the .erlang and .erlang.cookie files in ERL_TOP\usr. It’s not a per user location but safer then HOME. (By default a service runs as System user and you can try setting HOME in the ‘System variables’ section of the Environment Variables window. Alternatively you can specify a different user for the service, but that user needs ‘Log on as service’ permission.)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#202020"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#202020">For your other question I have no experience but according to the documentation you should try invoking start_erl from erl_srv instead of erl.exe.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#202020"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#202020">Janos<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#202020"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:erlang-questions-bounces@erlang.org" target="_blank">erlang-questions-bounces@erlang.org</a> [mailto:<a href="mailto:erlang-questions-bounces@erlang.org" target="_blank">erlang-questions-bounces@erlang.org</a>] <b>On Behalf Of </b>Wes James<br>
<b>Sent:</b> Friday, February 08, 2013 11:02 PM<br><b>To:</b> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><b>Subject:</b> [erlang-questions] two questions -- -boot in erlsrv and .erlang.cookies on windows<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p></div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">I have -boot working on linux. Now I'm trying to get it to work with erlsrv for windows. I put the -boot in the args part of erlsrv, but it doesn't seem to take. Any ideas how to get this to work?<u></u><u></u></p>
</div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12.0pt">Also, I've tried several different folders for .cookie.erlang on windows and I can't get it to take. Even putting it in my c:\Users\username and run the erlang app, it doesn't seem to be picked up. If I run with -setcookie, it works fine. I run "set" on windows in cmd.exe and see the HOME var is set. Also, if I can get this to work, where would the .erlang.cookie go when run as a service. I just ran erl.exe and it did not create an .erlang.cookie in my c:\Users\username folder (after I moved one that I had manually put there). Is it supposed to create one on windows?<u></u><u></u></p>
</div></div></div><p class="MsoNormal">Thanks,<br><br>Wes<u></u><u></u></p></div></div></div><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>