@echo off setlocal set command=yt-dlp.exe -x --audio-format mp3 --audio-quality 0 REM Check if an argument was provided if "%~1"=="" ( echo Usage: %0 [YouTube link] exit /b 1 ) REM Enclose the input in double quotes to preserve special characters set "input=%~1" set full_command=%command% %input% %full_command% pause