Skip to main content

Topic: encode all wav files in one go (Read 1781 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • nastea
  • [*][*]
encode all wav files in one go
Hi, I'm new here just to find the answer on one question I can't find anywhere else:
Is it possible with LAME to encode all the wave files in one folder to mp3 in one go? Using the command line.

Strange enough, when I give the command:

lame -V 0 *.wav

it stops after one file.
What am I doing wrong?

I hope somebody can help me out.

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
encode all wav files in one go
Reply #1
LAME does not expand wildcards. So, make the Command Prompt do that:
Code: [Select]
for %f in (*.wav) do lame -V0 "%f"

  • nastea
  • [*][*]
encode all wav files in one go
Reply #2
LAME does not expand wildcards. So, make the Command Prompt do that:
Code: [Select]
for %f in (*.wav) do lame -V0 "%f"


It works!
Thank you very much, this is exactly what I was looking for.
I know that there are also LAME front-end programs for windows but its just more fun seeing the encoding process in a black dos box.
Thanks again