[rabbitmq-discuss] cookie file on Windows

Matthias Radestock matthias at lshift.net
Wed Apr 29 17:27:03 BST 2009


Aaron,

Aaron Feng wrote:
> Is there a way to specify the location of the cookie file?

Not directly. You can pass the -setcookie option to erl to specify the 
cookie, which with
   erl -setcookie `cat path-to-cookie-file`
gives you what you want ... on Unix. I'll leave it to you to figure out 
how do that in a Windows .bat file ;)


Matthias.




More information about the rabbitmq-discuss mailing list