I have a very simple bat script to download videos.
I want to modify it so that each time I run the script, it will ask me to type filename of the file I'm about to download.
Code:@ECHO OFF SET /P URL="Enter video URL: " ECHO. youtube-dl -o %%(title)s.%%(ext)s -i --ignore-config --hls-prefer-native %URL% ECHO. PAUSE EXIT
This %%(title)s parameter works only with YouTube video but doesn't work with other sites so I want to put my own filename each time I paste a link to download
+ Reply to Thread
Results 1 to 3 of 3
I figured it out. Solved.