set BIN=c:\misc\ffmpeg\bin set DST=%~n1.mkv echo %BIN%\ffmpeg -f concat -i bindlist.txt -c copy %DST% %BIN%\ffmpeg -y -f concat -i bindlist.txt -c copy %DST%