|
|
| Author |
Message |
|
| tobbe at bluetail.com |
Posted: Fri Aug 24, 2001 11:19 am |
|
|
|
Guest
|
Hi,
I'm trying to get Mnesia going under Windows.
>From a cygwin rxvt/tcsh I get the following:
-------------
> erl -mnesia dir d:/cygwin/home/tobbe/tmp
Eshell V5.0.2 (abort with ^G)
1> init:get_arguments().
[{root,["D:\ERL50~1.2"]},
{progname,["erl"]},
{mnesia,["dir","d:/cygwin/home/tobbe/tmp"]},
{home,["C:\WINDOWS"]}]
2> application:start(mnesia).
=ERROR REPORT==== 24-Aug-2001::11:25:02 ===
application_controller: syntax error before: '/': d:/cygwin/home/tobbe/tmp
{error,{bad_environment_value,"d:/cygwin/home/tobbe/tmp"}}
---------------
But ls/0 works fine (tmp is empty):
---------------
3> ls("d:/cygwin/home/tobbe/tmp").
ok
---------------
And here is another example:
------------------
4> file:open("/cygwin/home/tobbe/tmp/heja",[write]).
{ok,<0.47.0>}
5>
<Ctrl-c>
> ls tmp
heja
> erl -mnesia dir /cygwin/home/tobbe/tmp
Eshell V5.0.2 (abort with ^G)
1> application:start(mnesia).
{error,{bad_environment_value,"/cygwin/home/tobbe/tmp"}}
=ERROR REPORT==== 24-Aug-2001::11:58:53 ===
application_controller: syntax error before: '/': /cygwin/home/tobbe/tmp
--------------------
Ideas anyone ?
Cheers /Tobbe
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
| Jens.Peder.Terjesen at et |
Posted: Fri Aug 24, 2001 2:17 pm |
|
|
|
Guest
|
Hi.
Could it be that you should use (backslash) instead of / (slash)
as directory delimiter?
Jens
-----Original Message-----
From: Torbjorn Tornkvist [mailto:tobbe_at_bluetail.com]
Sent: 24. august 2001 13:20
To: erlang-questions_at_erlang.org
Subject: erlang,mnesia and Windows
Hi,
I'm trying to get Mnesia going under Windows.
>From a cygwin rxvt/tcsh I get the following:
-------------
> erl -mnesia dir d:/cygwin/home/tobbe/tmp
Eshell V5.0.2 (abort with ^G)
1> init:get_arguments().
[{root,["D:\ERL50~1.2"]},
{progname,["erl"]},
{mnesia,["dir","d:/cygwin/home/tobbe/tmp"]},
{home,["C:\WINDOWS"]}]
2> application:start(mnesia).
=ERROR REPORT==== 24-Aug-2001::11:25:02 ===
application_controller: syntax error before: '/': d:/cygwin/home/tobbe/tmp
{error,{bad_environment_value,"d:/cygwin/home/tobbe/tmp"}}
---------------
But ls/0 works fine (tmp is empty):
---------------
3> ls("d:/cygwin/home/tobbe/tmp").
ok
---------------
And here is another example:
------------------
4> file:open("/cygwin/home/tobbe/tmp/heja",[write]).
{ok,<0.47.0>}
5>
<Ctrl-c>
> ls tmp
heja
> erl -mnesia dir /cygwin/home/tobbe/tmp
Eshell V5.0.2 (abort with ^G)
1> application:start(mnesia).
{error,{bad_environment_value,"/cygwin/home/tobbe/tmp"}}
=ERROR REPORT==== 24-Aug-2001::11:58:53 ===
application_controller: syntax error before: '/': /cygwin/home/tobbe/tmp
--------------------
Ideas anyone ?
Cheers /Tobbe
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
| bheatwole |
Posted: Fri Mar 20, 2009 11:32 pm |
|
|
|
Joined: 20 Mar 2009
Posts: 1
|
I ran into a similar problem today in my .bat script to run erlang on Win XP. I tried various combinations of quoted and non-quoted paths before eventually finding an example that uses both single and double quotes. That's the one that works:
Code: "C:\Program Files\erl5.6.1\bin\werl.exe" -mnesia dir '"C:/Documents and Settings/Joe User/My Documents/mnesia"' |
|
|
| Back to top |
|
| jhagelgans |
Posted: Thu May 28, 2009 4:27 pm |
|
|
|
Joined: 28 May 2009
Posts: 1
|
Code: erl -mnesia dir "'/Temp/funk'"
double quote followed by single quote works in cygwin with bash.
JH |
|
|
| Back to top |
|
| wuji |
Posted: Thu Aug 16, 2012 7:24 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
walk-in refrigerator died of suffocation from carbon dioxide inside, and and cheap replica *beep* and was likely overcome by the gas in a matter
minutes, the Nashville medical examiner ruled today.Jay Luther, 47, was was [h4]cheap designer *beep*[/h4] was found dead Monday morning in the cooler of the
East Cafe. Luther, who was co-owner of the cafe, pressed pressed cheap jordans pressed a burglar alarm in the cooler that called police
the scene.There were no signs of foul play, police said.The said.The cheap jordans said.The restaurant had been closed for the weekend because of
planned power outage. Dry ice -- frozen carbon dioxide -- -- cheap Ralph Lauren -- had been used to keep food cool for the |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|