Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: encode all wav files in one go (Read 2858 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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.

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"

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