I have already added the path to environment path variable.

Screenshot of path environment variable

But when I tried to execute it through cmd . I am getting the error

'youtube-dl' is not recognized as an internal or external command, operable program or batch file.

1 Answer 1


You do not add specific programs to your path, you add the folder containing your programs.

You need to remove the youtube-dl.exe from the end of highlighted line.

  • It worked like a charm. Thanks @mokubai
    – Aman
    May 11, 2019 at 8:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.