for %%I in (*.wav) do lame --preset extreme --priority 0 "%%I" "%%~nI.mp3"