@echo off makefmt1 %1 %2 %3 %4 %5 %6 %7 %8 %9 if errorlevel 1 goto end call makefmt2 del makefmt2.cmd :end