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