Windows命令无法运行报错:is not recognized as an internal

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Windows命令无法运行报错:is not recognized as an internal相关的知识,希望对你有一定的参考价值。

发现bat文件即使手动运行也无法成功,于是打开CMD验证,输入命令提示如下错误:
技术图片

“command” is not recognized as an internal or external command, operable program or batch file.

然后发现任何CMD命令都无法识别

原因:电脑用户环境设置有问题,到如下位置修改:

鼠标右键点击 My Computer-> Properties-> Advanced -> Environment Variables -> Path
在最前面添加:SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
技术图片

技术图片

以上是关于Windows命令无法运行报错:is not recognized as an internal的主要内容,如果未能解决你的问题,请参考以下文章

错误记录执行 Python 程序报错 ( NameError: name ‘reload‘ is not defined )

错误记录执行 Python 程序报错 ( NameError: name ‘reload‘ is not defined )

flutter工程,无法运行,报错:The ‘java‘ plugin has been applied, but it is not compatible

python使用plt.title()时无法显示标题,报错 'str' object is not callable如何解决?

Maven命令无法执行 报错:-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environ

Maven运行报错:-Dmaven.multiModuleProjectDirectory system propery is not set.