for loop - Multiple FOR and one DO for batch file? -



for loop - Multiple FOR and one DO for batch file? -

could explain me why fails?

for %l in (1 2 3 4 5 6 7 8 9) %a in (temp\*.upp) upp1.exe c%l %a

any help great.

you're missing required do, with:

for %x in (1,2) %y in (a,b) echo %x%y

which outputs:

1a 1b 2a 2b

if leave out first do (as have done), is:

for unexpected @ time.

you need, particular case:

for %l in (1 2 3 4 5 6 7 8 9) %a in (temp*.upp) upp1.exe c%l %a rem ==

batch-file for-loop

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -