Rüdiger
Rüdiger

Reputation: 943

Erlang Console does not give any output (on Windows)

I wanted to get started with erlang, so I installed it by using the binary file from their page and then I followed this site - to execute my first erlang script.

My Problem: When I start the erlang shell everything is fine:

Eshell V10.6  (abort with ^G)

But the I start navigating, lets just say I want to go to C:/

1> cd("C:/")

All that happens is that there is an underscore in the next line showing up and disappearing (and showing up again and so on) - there is no reaction. I also tried that in eclipse console (created a .erl-module, then "executing" it which starts up the erlang console, then I navigate into the path) and the same thing happens. I do not get any visible result whatsoever, so I cannot say if there is an error or something else blocking it, maybe it was also installed in a wrong way? But I have the problem on two different devices at the moment...

Can anyone help?

Upvotes: 2

Views: 352

Answers (1)

choroba
choroba

Reputation: 241858

You need to end the command with a dot:

cd("C:/").

Upvotes: 3

Related Questions