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 >
Wrap
Text File
|
1992-08-24
|
2KB
|
40 lines
CAT [DUAL MODE]
NAME CAT - conCATenate files to standard output.
SYNTAX
CAT [drive(s)] [/NOD] [+A|+R|+S|+H|+D|] [/P |/H
|/?][file(s)]
USAGE
CAT is a similar tool to the standard TYPE command, but
it can search for files through a directory structure and
from multiple volumes.
Dy default CAT display files only on the current
directory. With the /S option you can search through the
three hierarchy starting from current directory.
You can list at the beginning of the command line drives
and/or directories and CAT will start its search from
these places. E.g. cat c: d:\source *.c *.h /S, would
display all *.c and *.h-files from c:-drives current
directory and d:-drices \source-directory and below.
You can also include attributes in the search criteria.
By default CAT finds files with no bits, attribute bit
and/or readonly bit set. You can specify other file
attributes with the +-options. The /NOD (=NO Default)-
switch will turn off default finding rules and you can
the explicitly set the file types you want to find - e.g.
'CAT /NOD +H *.*' would display only files with the
hidden bit on and no other bits on.
With the /P option, CAT will pause after each screenful.
SEE ALSO
scan, du, delq, ff