BATCH scripting: how to use ERRORLEVEL in scripts

Published --