Search code examples
windowsphantomjssystem-variable

Phantomjs windows path is set but still can't run from cmd prompt


enter image description here

The above image is a snippet i took from my Path system variable. however whenever i attempt to run phantomjs i get the following message:

enter image description here

Can anyone tell me what i might be missing?


Solution

  • You should close and reopen Command Prompt after changing PATH variable for the changes to take effect.