forked from KnightDanila/BAT_FFMPEG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
youtube-dl-Video-MaxSize.bat
30 lines (22 loc) · 842 Bytes
/
youtube-dl-Video-MaxSize.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
REM youtube-dl.exe --config-location youtube-dl.conf URL
REM USE "@setlocal EDE (EnableDelayedExpansion )" -
REM Because I cannot use "SET /p" - IN LOOP,
REM Cannot use & Ampersand symbol in URL (I need it for list)
@setlocal EnableDelayedExpansion
@echo off
echo %CD%
echo %~dp0
cd /d %~dp0
ECHO. & ECHO ******************************************************
SET /p URL="Paste URL: "
ECHO URL=!URL!;
ECHO ****************************************************** & ECHO.
REM _________________MAIN_____________________
youtube-dl.exe --config-location youtube-dl-Video-MaxSize.conf !URL!
REM _______________END_MAIN___________________
ECHO.
ECHO ******************************************************
ECHO * Downloads Are Ready :) Be Happy :) *
ECHO ******************************************************
ECHO.
pause