'cmd' is not recognized as an internal or external command, operable program or batch file
So far I understand this is not your IDE issue.Check your "system32" is correctly defined in the PATH environment variable .
Path = %SystemRoot%\system32;
you can get it worked in anyone of below ways
- Set path to system32
c:\windows\system32
instead of%SystemRoot%\system32
- Go to system32 folder then search and find
cmd.exe
- Use
command
instead ofcmd.exe
One variable named Path
was already set but i created a new variable which is PATH
so it replaced the Path
variable so Path = %SystemRoot%\system32;
got deleted.
SO the conclusion is you were trying to install java or maven and you replaced Path with PATH and its gone.
So set the SystemRoot path in environment variable something like below.
PATH = %JAVA_HOME%\bin;%M2_HOME%\bin;%SystemRoot%\system32;