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