最終行を以下に書き換え
for /R %%x in (*.wav) do if not exist "%%~nx.mp3" X:\FREESOFT\lame.exe -b 128 "%%x"