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