for %%I in ("*.rm" "*.ram" "*.ra") do mplayer "%%I" -ao pcm:fast:file="%%~nI.wav" -vc null -vo null