Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 68,769 of 68,980    |
|    R.Wieser to All    |
|    Re: Use the remaining arguments ?    |
|    22 Apr 24 19:33:31    |
      From: address@is.invalid              Kenny,              >>How do I provide all arguments starting from the second one to the       >>program ?       >>       >>Currently I just use "program.exe %2 %3 %4 %5 %6 %7 %8 %9" and be       >>done with it,       >       >I think it is just a limitation of DOS batch that we all have to       >resign ourselves to living with.              :-) That is what I am trying to figure out : /is/ it a limitation, or is       there something available I'm currently not aware of.              To be honest, I consider %* not honoring SHIFT to be a bug, greatly       diminishing the usefullness of it.              > There are quite a few alternatvies to plain DOS batch at this point       > in time, so you could switch languages.              Batch is just too handly to me for basic stuff, especially when you want to       have everything running in the same console (instead of having each       executable in the script run in its own shell window.)              > Or you could do something like:       [snip script]              I was considering something of the same, but in the past found batch rather       finicky when handling strings. Hence I'd rather do as little as possible of       it              Thanks for the suggestion though.              Regards,       Rudy Wieser              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca