( mrceeka | 2018. 10. 30., k – 12:53 )

cc.bat:

SET fn=valami
FOR /F %%i IN ('dir %fn%*.ts /b ^| find /c "%fn%"') DO SET cnt=%%i
copy %fn%1.ts all.ts
FOR /L %%j IN (2,1,%cnt%) DO copy /b all.ts+%fn%%%j.ts all.ts

Üdv,
Marci