home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource3 / 121_01 / zdir.doc < prev   
Encoding:
Text File  |  1985-08-21  |  2.3 KB  |  67 lines

  1.  
  2.  
  3.      ZDIR (1)                  BDS C Users' Group                  ZDIR (1)
  4.  
  5.  
  6.  
  7.  
  8.      NAME   
  9.      NAME 
  10.           zdir - produce directory list 
  11.  
  12.  
  13.      SYNOPSIS   
  14.      SYNOPSIS 
  15.           zdir                         
  16.           zdir [-fs] [filedesc] ...  
  17.  
  18.  
  19.      DESCRIPTION   
  20.      DESCRIPTION 
  21.           ____                                                       
  22.           Zdir is a program which produces a directory list on the 
  23.           console, with six directory entries per line.  Optionally, 
  24.           the output may be sorted and/or written to a disk file as 
  25.           well.  Zero or more file descriptors (ambiguous or 
  26.           unambiguous) may be supplied to tailor the output.  If no 
  27.           file descriptors are supplied, a default of *.* is used, 
  28.           i.e.  everything on the current drive.  
  29.  
  30.  
  31.           The following options are available:
  32.                -f     output filenames to file dir.dir
  33.                -s     sort filenames before outputting
  34.  
  35.  
  36.      CAVEATS   
  37.      CAVEATS 
  38.           This program was tested with v1.50 of the BDS C compiler 
  39.           under CP/M 2.2.  It should work with other versions of BDS C 
  40.           and CP/M, but has not been tested.  
  41.  
  42.  
  43.      EXAMPLES   
  44.      EXAMPLES 
  45.           zdir a:*.* b:*.*     lists everything on drives A & B; both
  46.                                directories are sorted together
  47.           zdir -f *.com        lists all .COM files on the current default
  48.                                drive and writes the list of files to dir.dir
  49.  
  50.  
  51.      FILES   
  52.      FILES 
  53.           dir.dir 
  54.  
  55.  
  56.      SEE ALSO   
  57.      SEE ALSO 
  58.           sdir(1) 
  59.  
  60.  
  61.      BUGS   
  62.      BUGS 
  63.           If the same file corresponds to more than one file 
  64.           descriptor, it will be listed once for each such 
  65.           correspondence.  
  66.           A maximum of 128 filenames is allowed.  
  67.           Unlike sdir, drive names on their own are treated as 
  68.           requests for all-blank file descriptors.  
  69.  
  70.  
  71.      NOTES   
  72.      NOTES 
  73.           Since this program combines the features of ddir & ldir, 
  74.           these two programs have been removed from this version of 
  75.           this diskette.  
  76.           Requires files.c for link.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.                                       -1-
  89.  
  90.  
  91.  a:*.*