Hey guys, I'm trying to write a little batch script that passes its arguments to another program.
I want the user to be able to type <I>foo.bat -x -y blah blah blah</I> and have it call <I>bar.exe -a -b -x -y blah blah blah</I>.
I know about %1, %2, etc, but my problem is that I could have an arbitrary number of arguments. Does anybody know how I could work this?
Thanks.
I want the user to be able to type <I>foo.bat -x -y blah blah blah</I> and have it call <I>bar.exe -a -b -x -y blah blah blah</I>.
I know about %1, %2, etc, but my problem is that I could have an arbitrary number of arguments. Does anybody know how I could work this?
Thanks.
Comment