[Flac] FLAC: encoder batch file

rappard at dds.nl rappard at dds.nl
Thu Apr 19 05:37:51 PDT 2007


> 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
> Maybe some windows users can tell me what I'm doing wrong here?

You need to use %%'s instead of %'s - see ericphelps.com. And I assume  
you mean  2>> FLAC_output.txt?


More information about the Flac mailing list