home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / batch / for / help.hlm < prev    next >
Encoding:
Text File  |  1989-01-01  |  512 b   |  11 lines

  1.                             FOR
  2.  
  3. FOR allows iterative execution of DOS commands. The format is:
  4.  
  5.     FOR %%variable IN (set) DO command      ----- when used in BATCH files
  6.     FOR %variable IN (set) DO command       ----- when entered at the keyboard
  7.  
  8. where <variable> is sequentially set to each member of the list specified 
  9. by <set> and then <command> is evaluated and executed. The parentheses 
  10. around <set> are required. 
  11.