home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Big Blue Disk 51
/
bbd51.zip
/
CATT.TXT
< prev
next >
Wrap
Text File
|
1990-11-14
|
4KB
|
101 lines
|A╔═══════╦══════════════════════════════════════════════════════════════╦═══════╗
|A║ ^0Tools |A║ ^1CATT |A ║^0 Tools|A ║
|A╚═══════╩══════════════════════════════════════════════════════════════╩═══════╝
^Cby
^CGeorge Leritte
CATT is a handy utility that combines the function of TYPE with the file
handling capabilities of the COPY command. It will read a file (or files in
sequence) and display it (them) on the standard output (i.e., the screen).
CATT's output may be redirected using DOS's redirection and piping commands.
^1 Editors note: CATT is a DOS command line utility. When running most
^1 utilities from within the Big Blue Disk menu, only a HELP screen
^1 explaining the command is displayed. Use the command outside BBD as
^1 you would standard DOS commands with one exception: the catt.exe
^1 file must be in your current "PATH" at the time of execution.
Command syntax:
CATT [options] file1 file2 ...
where file1 file2 ... are filenames.
Options:
-h provides a brief description of the options.
-s makes CATT silent about the file name it's displaying and any non-
existent files it is asked to display.
-v makes Visible normal non-printing characters (those with ascii
values under 32 that are normally printer control characters).
-t prints tabs as ^^I when specified with the -v option.
-e prints '$' at the end of each line when specified the -v option.
-p prints a page break at the end of each file.
Specify multiple options as "-s -v -t -e" or "-svte". ("-s-v-t-e" will be
interpreted as "-s" ONLY.)
File1, file2, etc., are filenames or filename specifiers separated by
spaces. You can use wildcards like "*.txt" or "*.doc" or pathnames like
"\wordproc\business\*.doc". Multiple names may be specified at one time like
this: "*.txt *.doc manage.lst".
^1EXAMPLES^0
At the DOS prompt A> type:
^1catt *.txt >prn^0 ...print all files with .txt extension
on the disk in drive A:
^1catt *.txt^0 ...display all files with .txt extension
on the disk in drive A:
^1catt -s *.txt^0 ...display all files with .txt extension
on the disk in drive A: but OMIT
the "filename" identifier from the
output
^1catt *.txt >c:\junk\text^0 ...copy all files with .txt
extension on the disk in drive A:
to a single NEW file named "text"
in an existing subdirectory "junk"
on the C: drive
^1catt *.txt >>c:\junk\text^0 ...copy (append) all files with .txt
extension on the disk in drive A:
to the end of an existing file
named "text" in an existing
subdirectory "junk" on the C: drive
^1PAUSING
While the files are being displayed, press the <SPACE> bar to pause the
display. Be warned: the <SPACE> bar will pause printing or disk writing
if the CATT output is "redirected" using ">" or ">>." If your system appears
to be locked up, it may be the <SPACE> bar was pressed accidentally; press the
<SPACE> bar again. (You should be able to tell if this occurs: if you are
redirecting to the printer, your printer would have stopped after emptying its
buffer; if you are redirecting to a file, your disk drive would have stopped.)
^1CANCELLING
To cancel the remainder of the command after it has begun processing,
press the <CTRL> key and the <BREAK> key simultaneously, often directed
as <CTRL><BREAK> or CTL-Break.
^1OUTSIDE BBD
To run this program outside the ^1Big Blue Disk^0 menu, type: ^1CATT^0.
DISK FILES THIS PROGRAM USES:
^FCATT.EXE