Question about "for /L"

  • Thread starter Thread starter BigMan
  • Start date Start date
Michael Bednarek said:
I don't see how it's possible with /L. However:
FOR %i IN (1 7 16) DO ECHO %i
works.

I agree with you and David that "for /L" is not the best tool for the job
compared with the original for command. But it *is* possible to generate the
sequence "1 7 16" using a "for /L" loop:

for /l %X in (1,1,1) do echo/1 7 16

/Al
 
Back
Top