简体   繁体   English

无法将“ MIX_ENV”识别为内部或外部命令,可操作程序或批处理文件

[英]'MIX_ENV' is not recognized as an internal or external command, operable program or batch file

MIX_ENV=test mix compile

...is not working on Windows cmd . ...在Windows cmd上不起作用。 It shows: 表明:

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

How to solve this problem? 如何解决这个问题呢?

就像@Dogbert所说的,在Windows中,您必须使用set命令:

set MIX_ENV=test && mix compile

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “命令”不是内部或外部命令,也不是可运行的程序或批处理文件 - ''Command' is not recognized as a internal or external command, operable program or batch file '■S' 不是内部或外部命令,也不是可运行的程序或批处理文件 - '■S' is not recognized as an internal or external command, operable program or batch file 'jmeter' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'jmeter' is not recognized as an internal or external command, operable program or batch file 无法将“ slc”识别为内部或外部命令,可操作程序或批处理文件 - 'slc' is not recognized as an internal or external command, operable program or batch file 'pip3' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'pip3' is not recognized as an internal or external command, operable program or batch file 无法将“ svn”识别为内部或外部命令,可操作程序或批处理文件 - 'svn' is not recognized as an internal or external command, operable program or batch file 不是内部或外部命令、可运行的程序或批处理文件 - is not recognized as an internal or external command, operable program or batch file 'C:\\wmic' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'C:\wmic' is not recognized as an internal or external command, operable program or batch file 'fc'不被识别为内部或外部命令,可操作程序或批处理文件 - 'fc' is not recognized as an internal or external command, operable program or batch file Windows碎片整理无法识别为内部或外部命令,可操作程序或批处理文件 - Windows defrag is not recognized as an internal or external command, operable program or batch file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM