[Flac] FLAC: encoder batch file

Harry Sack tranzedude at gmail.com
Thu Apr 19 05:12:11 PDT 2007


Hi,

I'm using windows and I wanted to make a batch file for encoding of wav
files to flac.
It encodes all wav files in a directory to flac and write all flac output to
a file, after that it opens that file in wordpad.

Here is the batch file:

@ECHO OFF
FOR %1 IN (*.wav) DO flac -V --best "%1" 2<< FLAC_output.txt
START /MAX wordpad FLAC_output.txt
EXIT

The problem now is: the line 'FOR %1 IN (*.wav) DO flac -V --best "%1" 2<<
FLAC_output.txt' works perfectly when entered manually in a command line
window, BUT when put in a batch file, this line doesn't do anything at all
:-S

Maybe some windows users can tell me what I'm doing wrong here?

thx!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac/attachments/20070419/b9d5524d/attachment.html


More information about the Flac mailing list