home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / dirutils.arc / L.DOC < prev    next >
Encoding:
Text File  |  1987-12-11  |  2.0 KB  |  61 lines

  1. Docs for L.com - file directory and attribute utility
  2. R. Trevithick, 12/11/87
  3.  
  4.  
  5. This is simply another directory utility, with the advantage that
  6. it can set file attributes  to  anything  currently  supported by
  7. Dos.  It finds all entries matching the mask given, sorts them by
  8. name and extent, and displays them.  It  will set  the attributes
  9. of the  entries if  an option  parameter (beginning  with '/') is
  10. present on the command line.  The number of files found, with the
  11. total number  of bytes,  is then  displayed at  the bottom of the
  12. screen.  The  number  of  files  that  had  their  attribute byte
  13. changed will also be displayed.
  14.  
  15. For example, to display all .exe files in the root directory:
  16.  
  17.         l \*.exe
  18.  
  19. To change  all *.bin  files in the \utils directory to read-only,
  20. hidden, system and archive:
  21.  
  22.         l \utils\*.bin /rhsa
  23.  
  24. To change them all to normal (attr byte = 0):
  25.  
  26.         l \utils\*.bin /n
  27.  
  28. It will display all entries including hidden ones,  and will show
  29. directories in reverse video, hidden and/or system files in lower 
  30. case, and read-only files in dim video.
  31.  
  32. The /d  option will limit  attribute-setting to directories only,
  33. with the default being files only.
  34.  
  35. A simple help screen is available with a /? parameter.
  36.  
  37.  
  38.  
  39. Revision 10/20/87:
  40.  
  41. -Added support for displays with differing numbers of lines.  Works well
  42.  now in EGA 43 and 60 line mode, provided ANSI.SYS in NOT loaded.  If it
  43.  IS loaded, an ANSI bug will result in the cursor position will being 
  44.  incorrect on termination.
  45.  
  46.  
  47. Revision 12/11/87:
  48.  
  49. -Cleaned up parsing routines.
  50.  
  51. -Added lower case display of files with 'system' bit set.
  52.  
  53. -Sped it up a bit, and made it a tad smaller.
  54.  
  55. ***NOTE***
  56.         This is the first version of L that is supplied as an .EXE file.  
  57.         Hence, you must delete the previous version (a .COM file) in 
  58.         order for this one to run - since DOS will always load and 
  59.         execute a .com file before an .exe file of the same name.
  60.  
  61.