Search code examples
batch-filecmdwindows-8environment-variables

echo %path% is not working in windows 8


enter image description here

Could someone please tell me how to fix it?


Solution

  • The problem would appear to be <Java Home>.

    echoing this would attempt to read from a file named Java.

    In all probability, you need to change it to %java home%