When a sub is Called and more than 9 command line parameters are passed to the sub is it possible to somehow Shift the command line parameters to allow the use of the 10th (and subsequent) parameters?
e.g. something like this:
Call :SubName %input1% %input2% %input3% %input4% %input5% output1 output2 output3 output4 output5
then as last line of the sub:
Endlocal&set %6=%hh%&set %7=%mm%&set %8=%ss%&set %9=%tot%&SHIFT&set %9=%final%&goto :eof
Obviously using Shift in that position doesn't work for me, is there another way to shift the parameters please?



Help
Back to top









