I am trying to make a batch file that when executes makes a list named VideosToJoin.txt of the files with the extension .mp4, .mts and .avi in the folder and the after that proceed with the concat of those same files creating a final one named FinalVideo.mp4 I need some help here, because i want to automatize a specific process...
(for %i in (*.mp4,*.mts,*.avi) do @echo file '%i') > VideosToJoin.txt   
  
ffmpeg -f concat -i VideosToJoin.txt -c copy FinalVideo.mp4
The expected result is to have the final video by executing just one file, that's all i want, please help.
for /?? it says to use%%iinstead of%iin batch files...powershelltag? your code is purely BAT/CMD ... [frown]