@ECHO OFF IF "%~1"=="" GOTO HELP GOTO EXEC :EXEC C:\bat\yt\youtube-dl.exe -i --no-check-certificate --ffmpeg-location C:\bat\yt\ffmpeg.exe --all-subs --embed-subs --embed-thumbnail --add-metadata --merge-output-format mp4 --format bestvideo[ext=mp4]+bestaudio[ext=m4a] %* GOTO END :HELP ECHO %~0 ^ GOTO END :END