home *** CD-ROM | disk | FTP | other *** search
/ Compu-Fix / Compu-Fix.iso / tutorial / dos5tut / for.dat < prev    next >
Encoding:
Text File  |  1993-03-01  |  338 b   |  14 lines

  1. Explanation of the FOR command. It is a 
  2. BATCH command.
  3.  
  4. This command is used in a BATCH file and 
  5. will run a specified command for each file 
  6. in a set.  
  7.  
  8. Example: 
  9.        To type all .DOC files in drive A you
  10.        would use the following command in 
  11.        your batch file:
  12.        
  13.        for %%f in (*.doc) do type %%f
  14.