千家信息网

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

发表于:2025-02-01 作者:千家信息网编辑
千家信息网最后更新 2025年02月01日,发现bat文件即使手动运行也无法成功,于是打开CMD验证,输入命令提示如下错误:"command" is not recognized as an internal or external comma
千家信息网最后更新 2025年02月01日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;

0