@echo off
set /A i=1
:loop
if "%i%"=="14" (
goto end
)
copy /Y data%i%.in data.in
echo data.in
type data.in
stu
copy /Y data.out data%i%.out
echo data%i%.out
type data%i%.out
comp /A /L data%i%.out ata%i%.out
set /A i=%i%+1
goto loop
:end
pause
@echo off
set /A i=1
:loop
if "%i%"=="14" (
goto end
)
copy /Y data%i%.in data.in
echo data.in
type data.in
stu
copy /Y data.out data%i%.out
echo data%i%.out
type data%i%.out
comp /A /L data%i%.out ata%i%.out
set /A i=%i%+1
goto loop
:end
pause