set /p link="Enter the link of the video or audio you want to download: " set location=Your download location pushd %~dp0 cd /d %~dp0 start /w python.exe -m pip install --upgrade pip -optional, can be deleted start /w python.exe -m pip install --upgrade youtube-dl -optional, can be deleted youtube-dl ^ --ignore-config ^ --write-description ^ --write-info-json ^ --add-metadata ^ --write-annotations ^ --write-thumbnail ^ --write-all-thumbnails ^ --write-sub ^ --all-subs ^ --no-overwrites ^ --embed-thumbnail ^ --console-title ^ --output "%location%/%%(title)s/%%(title)s.%%(ext)s" ^ "%link%" echo Download location: echo %location% pause