type D:\DATA\1.txt > D:\DATA2\1.txt
type D:\DATA\2.txt >> D:\DATA2\1.txt
type D:\DATA\3.txt > D:\DATA2\2.txt
type D:\DATA\4.txt >> D:\DATA2\2.txt
......
type D:\DATA\499.txt > D:\DATA2\250.txt
type D:\DATA\500.txt >> D:\DATA2\250.txt
@echo off
setlocal enabledelayedexpansion
for /l %%f in (1,1,250) do (
set q=%%f
type D:\DATA\!q!*2-1.txt > D:\DATA2\!q!.txt
type D:\DATA\!q!*2.txt >> D:\DATA2\!q!.txt
)
endlocal
exit