1 2 3
@echo off if not exist "treated\" mkdir treated for %%i in (*.mp4) do ffmpeg -y -i "%%i" "treated\%%~ni_treated.mp4"