[英]Windows cmd START batch file in new console with quoted arguments
[英]Batch put start arguments into a new line
创建一个批处理文件以使用参数启动程序。 干得好 我喜欢将test5.coffe
和test2.coffe
放在分开的行中。 这是我的问题。 它不再需要参数了。 有办法解决吗?
工作实例
start "" "C:\Users\Username\AppData\Roaming\npm\coffee.cmd" --join test.js --compile test5.coffe test2.coffe
不工作的例子
start "" "C:\Users\Username\AppData\Roaming\npm\coffee.cmd" --join test.js --compile
test5.coffe
test2.coffe
尝试这个:
rem -- do not leave empty spaces after the ^s
start "" "C:\Users\Username\AppData\Roaming\npm\coffee.cmd" --join test.js --compile ^
test5.coffe ^
test2.coffe
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.