Help - Search - Members - Calendar
Full Version: decoding mp3 to wav
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
bluesky
If I execute the command: lame --decode *.mp3

In a directory that contains many mp3 files, it only decodes the first one. What is the correct command line useage of lame.exe to get it to decode all mp3 files in a given directory? I don't wanna a front end like razorlame to do this.

Thanks all!
Chun-Yu
I think this should work:

for %x in (*.mp3) do lame --decode "%x"
bluesky
That works great! And if I make it:

for %%x in (*.mp3) do lame --decode "%%x" it works in a batch file!

Thank you smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.