How do you convert an entire directory/folder with ffmpeg via command line or with a batch script?
For giggles, here's solution in fish-shell:
for i in *.avi; ffmpeg -i "$i" (string split -r -m1 . $i)[1]".mp4"; end