如何传递多个PARAMS批次? [英] How to pass multiple params in batch?
本文介绍了如何传递多个PARAMS批次?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的批处理文件,我希望将多个参数传递给其他应用程序。
In my batch file I want to pass multiple parameters to some other application.
现在我做到这一点。
app.exe %1 %2
和它只能传递两个参数,但是我想通过传递给批处理的所有参数(我宁愿不写的%1%2%3%4 ... 的)
and it can only pass two parameters, but I want to pass all the parameters that are passed to the batch(I would rather not write %1 %2 %3 %4 ...)
有什么神奇的方法来做到这一点?
Is there any magic way to do it?
推荐答案
有一种神奇的方式!我知道,但我不记得了。
There is a magic way! I knew it, but I could not remember it.
及其%*
这篇关于如何传递多个PARAMS批次?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文