home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / sdir.arc / SDIR.DOC < prev   
Encoding:
Text File  |  1987-05-28  |  1.9 KB  |  47 lines

  1.  
  2.                SDIR -  Sorted DIRectory lister, by Steve Clarke.
  3.  
  4.   This program was written to complement my SD utility, and is yet another
  5. version of that same program that can be found in every Public Domain's
  6. software catalogue. I have taken all the features of a these and put them into
  7. the one program. One particular feature is that of the /B switch which allows
  8. the file sizes to be displayed in blocks, similar to CP/M's STAT command,
  9. usefull if you frequently switch between DOS and CP/M 86.
  10.  
  11.     SDIR [d:][path][filename[.ext]] [options]
  12.          [filespec] same as for DIR command
  13.  
  14.          [options]   /A - Alphabetic order.
  15.                      /B - Display size in blocks of 1024 bytes
  16.                      /C - In a single column.
  17.                      /D - Sort by date/time.
  18.                      /H - List hidden / system files.
  19.                      /N - Do not sort, original order.
  20.                      /S - Sort by size.
  21.                      /X - Sort by extension.
  22.  
  23.  
  24.        Default = *.* sorted by name.ext.
  25.  
  26.        NOTE:  all  switches  can  be combined with other  switches  to  produce
  27. different effects.
  28.        eg.
  29.           SDIR A: /S /B /H
  30.  
  31.        Would  display  the  contents of the disk in drive  a:  in  size  order,
  32. showing  the sizes of  files in default  blocks of 1024 bytes, and including in
  33. the display any hidden / system files that happen to be on the disk.
  34.  
  35.           SDIR C: /A /B=512
  36.  
  37.        Would display the contents of the  disk in drive B: in alphabetic order,
  38. showing the sizes of files in blocks of 512 bytes.
  39.  
  40.        The column 'ATR' will display up to 4 attribute codes, as follows:
  41.  
  42.                 A - Archive bit is off (file has been archived)
  43.                 H - Hidden bit is on (file is hidden)
  44.                 R - Read-only bit is on (file is read-only)
  45.                 S - System bit is on (file is a system file)
  46.  
  47.