> > 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"