无法将"cmd"识别为内部或外部命令,可操作程序或批处理文件 [英] 'cmd' is not recognized as an internal or external command, operable program or batch file

查看:498
本文介绍了无法将"cmd"识别为内部或外部命令,可操作程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在netbeans中构建项目时,它显示:

When I build my project in netbeans me it shows:

'cmd' is not recognized as an internal or external command,
 operable program or batch file.` 

我正在使用jdk 8和maven 3.3.我的路径系统变量是:

I'm using jdk 8 and maven 3.3. My path system variable is:

%SystemRoot%\system32;%SystemRoot%;D:\POS\apache-maven-3.3.3-bin\apache-maven-3.3.3\bin;

推荐答案

到目前为止,我了解这不是您的 IDE 问题.请检查PATH环境变量中是否正确定义了"system32". /p>

So far I understand this is not your IDE issue.Check your "system32" is correctly defined in the PATH environment variable .

Path = %SystemRoot%\system32;

这篇关于无法将"cmd"识别为内部或外部命令,可操作程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆