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
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