@echo off if "%1"=="" goto loop echo TEST echo Test%1 copy edit%1.in edit.in >nul time