[erlang-questions] Shell - compile multiple files with ERLC in Windows

Roberto Ostinelli <>
Thu Jan 27 18:16:17 CET 2011


>
> try:
>
> FOR %%f in (src\*.erl) DO erlc -W %command% -o ebin "%%f"
>
> r.
>

sorry for that, obviously %command% is a paste error. this should do it:

FOR %%f in (src\*.erl) DO erlc -W -o ebin "%%f"


More information about the erlang-questions mailing list