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.
Parameters in a vbs script #2380
Comments
|
This should work: |
|
I'm closing the issue since it looks like it isn't a problem in youtube-dl. |
I'm trying to write a vbs script file to download different videos running youtube -dl with the run method. I need to pass the parameters in string variables, but I have problems to do it.
An example of what I've tried:
Set objShell = WScript.CreateObject("WScript.Shell")
Dim Parameter as string
Parameter = "https://www.youtube.com/watch?v=thevideo"
objShell.Run ""'youtube-dl" & Parameter", 1, True
Doesnt work, I think due to the quotes. Tried different ways, but can't manage to do it. Can somebody please tell me how to write it correctly? Maybe I should use some other method?
Thanks in advance ;)