How to pass more then 9 params to a bat-script
Hello!I call a bat-script from a ant-target.
The bat-script needs alot of params at startup.
It is called like:
<exec executable="cmd">
<arg line="/c mybat ${param1} ${param2} ... ${param9}" />
</exec>
In the bat-script I initiate alot of variables like:
set var1=%1
set var2=%2
...
set var9=%9
The problem is that I need to pass param number 10.
set var10=%10
But then the variable, var10, gets value of param1.
So if any one got any solution or any better solution please let me know!
Best regards
Fredrik
