The erl program is Erlang Emulator, starting an Erlang runtime system.
The executable script erl is a front-end to the Erlang runtime system. Windows users probably wants to use the werl program instead, which runs in its own window with scrollbars and supports command-line editing.