home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 376_01 / os2tool.000 / CAT.TXT < prev    next >
Text File  |  1992-08-24  |  2KB  |  40 lines

  1.                                                CAT [DUAL MODE]
  2.      
  3.      NAME CAT - conCATenate files to standard output.
  4.      
  5.      SYNTAX
  6.      
  7.      CAT   [drive(s)]   [/NOD]   [+A|+R|+S|+H|+D|]   [/P   |/H
  8.      |/?][file(s)]
  9.      
  10.      
  11.      USAGE
  12.      
  13.      CAT is  a similar  tool to the standard TYPE command, but
  14.      it can search for files through a directory structure and
  15.      from multiple volumes.
  16.      
  17.      Dy  default   CAT  display  files  only  on  the  current
  18.      directory. With  the /S option you can search through the
  19.      three hierarchy starting from current directory.
  20.      
  21.      You can  list at the beginning of the command line drives
  22.      and/or directories  and CAT  will start  its search  from
  23.      these places.  E.g. cat  c: d:\source  *.c *.h  /S, would
  24.      display all  *.c and  *.h-files  from  c:-drives  current
  25.      directory and d:-drices \source-directory and below.
  26.      
  27.      You can  also include  attributes in the search criteria.
  28.      By default  CAT finds  files with  no bits, attribute bit
  29.      and/or readonly  bit set.  You  can  specify  other  file
  30.      attributes with  the +-options.  The /NOD  (=NO Default)-
  31.      switch will  turn off  default finding  rules and you can
  32.      the explicitly set the file types you want to find - e.g.
  33.      'CAT /NOD  +H *.*'  would display  only  files  with  the
  34.      hidden bit on and no other bits on.
  35.      
  36.      With the /P option, CAT will pause after each screenful.
  37.      
  38.      SEE ALSO
  39.      scan, du, delq, ff
  40.