I'm not a programmer so I don't even know what a batch program is... but this is what I've used to transcode from FLAC to MP3:

Easy CD-DA Extractor

It's a pay program, but it will do batch conversion to - from just about anything and transfer tags as well.