Can't run a command

DynV

New member
Mar 15, 2020
50
0
0
I've downloaded a program and since there was no installer, I created a folder then moved it in the appropriate Program Files folder then added the corresponding path entry in the GUI Advanced system settings (through the context menu of "This PC"), which is
%ProgramFiles(x86)%\youtube-dl-2020.03.08\youtube-dl.exe
. I then tried the following in vain:
C:\Users\MY_USER_NAME>echo %Path%
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\youtube-dl-2020.03.08\youtube-dl.exe;C:\Users\MY_USER_NAME\AppData\Local\Microsoft\WindowsApps;

C:\Users\MY_USER_NAME>youtube-dl
'youtube-dl' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\MY_USER_NAME>youtube-dl --help
'youtube-dl' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\MY_USER_NAME>youtube-dl.exe --help
'youtube-dl.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\MY_USER_NAME>"C:\Program Files (x86)\youtube-dl-2020.03.08\youtube-dl.exe" --help
Usage: youtube-dl.exe [OPTIONS] URL [URL...]

Options:
General Options:
[...]

C:\Users\MY_USER_NAME\Downloads>"C:\Program Files (x86)\youtube-dl-2020.03.08\youtube-dl.exe" -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' https://www.youtube.com/watch?v=alQUyaybZgo
The system cannot find the file specified.

C:\Users\MY_USER_NAME\Downloads>"C:\Program Files (x86)\youtube-dl-2020.03.08\youtube-dl.exe -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' https://www.youtube.com/watch?v=alQUyaybZgo"
'"C:\Program Files (x86)\youtube-dl-2020.03.08\youtube-dl.exe -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' https://www.youtube.com/watch?v=alQUyaybZgo"' is not recognized as an internal or external command,
operable program or batch file.

Would you kindly help me properly do the 2nd-to-last command?
 
The second to last command looks like an embed action for HTML: 'bestvideo[height<=480]+bestaudio/best[height<=480]' Youtube link' That part looks like the embed.

What app/program are you trying to install?

Edit: upon posting there IS a YouTube video in the command.
 

Members online

Forum statistics

Threads
333,946
Messages
2,256,911
Members
428,724
Latest member
SishaDamico