How can I batch convert flac files to wav?

5,303

The default flac distribution include a binary called flac(.exe). You can decompress flac files with it using the -d option.

Just use the cmd shell from the folder with .flac files:

FOR %f IN (*.flac) DO "C:\Program Files (x86)\FLAC\flac.exe" -d "%f"
Share:
5,303

Related videos on Youtube

ayane_m
Author by

ayane_m

I'm a transhumanist, and my favorite subjects are philosophy, mathematics, and computer science. I'm into media preservation and I primarily collect books, music, video games, films, and animation. I also like cars, motorcycles, parkour, and writing.

Updated on September 18, 2022

Comments

  • ayane_m
    ayane_m almost 2 years

    I'm using Windows XP, and I have several (about 160) flac files which I need to convert to wav. Since it is not practical to convert so many one by one, I need a utility that can convert them, but also preserve the metadata. It is crucial that the metadata is present and not altered, and I would highly prefer anything portable (sans-installation), and command line utilities would help too.

    Thank you for helping

    ==EDIT== I don't need the metadata, can this conversion be done now, somehow?

    • Zoredache
      Zoredache over 11 years
      Uhm, WAV has very limited metadata support you know? It simply can't handle everything that can be stored in a flac file.
  • ayane_m
    ayane_m over 11 years
    Thank you, this is just what I needed. It also has an option to write to STDout (EXACTLY what I needed), so this is perfect.
  • Ярослав Рахматуллин
    Ярослав Рахматуллин over 10 years
    I have encountered difficulties when feeding the output from flac into lame. The duration of the mp3 files comes out wrong sometimes. It's possible to recalculate the length of VBR mp3s using some utility (e.g foobar2000), but I find it generally safer to use intermediate wav files.
  • somebadhat
    somebadhat about 4 years
    Does this answer the question how to convert flac files in Windows XP?