Windows 7 environment variable not working in path

后端 未结 14 2137
[愿得一人]
[愿得一人] 2020-12-07 23:00

I am trying to set up some path using environment variable. I added an environment variable \"MAVEN_HOME\" with the value \"C:\\maven\". Then in the path I added \"%MAVEN_HO

14条回答
  •  -上瘾入骨i
    2020-12-07 23:26

    I had the same problem, I fixed it by removing PATHEXT from user variable. It must only exist in System variable with .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

    Also remove the variable from user to system and only include that path on user variable

提交回复
热议问题