3.3 Switching Disks
The operator can switch the currently logged disk by typing the disk
drive name
followed by a colon (:) when the CCP is waiting
for console input. Thus, the sequence of
and commands shown
below might occur after the
system is loaded from disk A:
CP/M
2.2
A>DIR
List all files on disk A.
A: SAMPLE ASM : SAMPLE PRN
DUMP
A: PIP COM : STAT COM
COM : SYSGEN COM
A>B:
B>DIR
Switch to disk B.
List all
files on B.
B: DUMP ASM : FILES ASM : REFORM ASM :
ASM
B>A:
Switch back to A.
The Form of Built-in Commands
Built-in commands are a part of th CCP program itself, while transient
commands are loaded into the TPA from disk and executed. The built-in
commands are
ERA Erase
files.
List file names in the directory.
REN Rename the speicified file.
SAVE Save memory contents in a file.
TYPE Type the contents of a file on the logged disk.
ERA afn <cr>
The ERA (erase) command removes files from the currently logged-in
disk (i.e., the disk n a m e c u r r e n t l y prompted by CP/M preceding the
The files which are erased are those which satisfy the ambiguous
file reference afn. The following examples illustrate the use of ERA:
ERA X.Y The f i l e named X.Y on the c u r r e n t l y logged disk is re-
moved from the disk directory, and the space is returned.
ERA
All files with p r i m a r y name X are removed from
current disk.
Summary of Contents for TPC-2OOO
Page 7: ......