So here's where I am at currently:
cls
@echo off
title youtube downloader
:downloader
echo youtuber downloader!!!
pause
cls
echo please put the link:
set /p site=
echo Do you want to download %site% as mp3?
set /p choice
if %choice%== yes goto mp3
if %choice%== no goto mp4
:mp4
@echo off
cls
C:\Users\Andly\Documents\youtube-dl.exe %site%
echo ok
pause
end
:mp3
@echo off
cls
C:\Users\Andly\Documents\youtube-dl %site% --audio-format mp3
echo lol ok
pause
end
I am pretty sure I can select the link in
echo please put the link:
set /p site=
^^^ However, it crashes right when I put a site!
Does anyone know what I am doing wrong?