T
T
Tomaszz2018-08-19 14:03:49
cmd/bat
Tomaszz, 2018-08-19 14:03:49

Are there any errors in the bat file?

Please check if everything is correct for working with youtube-dl:

@echo off 
CLS 
SET Destination="D:\YT_Downloads/%%(title)s.%%(ext)s" 
 
:Input 
SET /P URL="Whats the video url?* " 
IF "%url%" EQU "" GOTO End 
IF "%url: =%" NEQ "%url%" GOTO Download

:Download 
youtube-dl "%URL%" -o "%Destination%" 
 
:End

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question