@echo off title TestData - random if "%1"=="" goto loop copy random%1.in random.in >nul echo Problem Test echo Data %1 timeenter for %%i in (1 2 3 4 5 6 7 8 9 10) do call %0 %%i del enter del random.in del random.out :end