Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How to pass the url to batch file? #18368
Comments
|
The Batch language and Window$ itself are really finicky. For best results you have to replace Also, with If you need to be able to access every string you pass outside just being able to pass the strings to youtube-dl, you need a more elaborate system. |
I'm using youtube-dl on Win and instead of typing "youtube-dl -f 22 https://youtube-etc-etc" every time
I'd rather put it in a batch file.
simply
@echo off
c:\bin\youtube-dl.exe -f 22 %1
but it truncates everything past the https://www.youtube.com/watch?v sting....
how do i properly pass the url? thanks!