I installed Console2 to replace the Windows default console.
I set the console2 shell as cmd.exe
. Everything is okay.
But today, I added maven's path in PATH variables, and execute mvn
command, it was not recognized.
So I tried the command in cmd.exe
, and it's okay.
Console2 should be only a wrapper for cmd, why the environment variable is not affected?