Displaying 2 results from an estimated 2 matches for "fail02".
Did you mean:
mail02
2004 Sep 10
1
[Flac-users] Re: my flac -t issue: next approach
...oblem? If they would, what about
this?
flac -t file01.flac
if errorlevel 1 goto fail01
echo "file01.flac verified" >> results.txt
goto continue02
:fail01
echo "file01.flac did not verify" >> results.txt
:continue02
flac -t file02.flac
if errorlevel 1 goto fail02
echo "file02.flac verified" >> results.txt
goto exit
:fail02
echo "file02.flac did not verify" >> results.txt
:exit
or maybe this,
verifyfile01.bat
verifyfile02.bat
where verifyfile01.bat contains this,
flac -t file01.flac
if errorlevel 1 goto fail
echo...
2004 Sep 10
2
[Flac-users] Re: my flac -t issue: next approach
| yes, the exit code will be 1 if any of the flac files failed
| testing, else 0 (i.e. if all of them passed).
Thank you, Josh! Now the only trick is to see whether command.com can do
anything with that information.