- May
- 62
- 1
Code:
C:\batch]type foo.btm
@ echo off
do until (%1) == ()
echo parm is %1
shift
enddo
echo at end
Code:
[C:\batch]foo one two three four five
parm is one
parm is two
parm is three
parm is four
parm is five
at end
- If I specify some batch arguments, set no breakpoints, then run to breakpoint, it executes correctly.
- Using the same arguments, if I step through the code, it does not process more than three input parms.