Nice batch file. But if the specified input file does not exist, this results in a crash of lossywav.exe
Windows XP SP2, lossywav 1.1.0b
F:\lossywavtest\>flac -d doesnotexist.flac --stdout --silent | lossy
wav - --stdout -P | flac - -b 512 -o doesnotexist.lossy.flac --silent
doesnotexist.flac: ERROR initializing decoder
init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_
FlossyWAV 1.1.0b, Copyright (C) 2007,2008 Nick Currie. Copyleft.
This is free software under the GNU GPLv3+ license; There is NO WARRANTY, to
the extent permitted by law. <http://www.gnu.org/licenses/> for details.
ILE
An error occurred opening the input file; it is likely that it does not exist
or is not readable.
ERROR: for encoding a raw file you must specify a value for --endian, --sign, --
channels, --bps, and --sample-rate
Type "flac" for a usage summary or "flac --help" for all options
F:\lossywavtest\>tag --fromfile doesnotexist.flac doesnotexist.lossy.
flac
Tag - Automatic Tag from filename Copyright (c) 2002-2003 Case
Version 2.0.39b, Compiled 2003-04-11
File not found: 'doesnotexist.lossy.flac'
fromfile: Can't open file 'doesnotexist.flac'.