CP/M
CP/M Builtin Commands
Paraphrased from the PX4 Operating Manual
Control key commands
Items in bold are keys to be pressed
CTRL + E
CTRL + H
CTRL + I
CTRL + P
CTRL + R
CTRL + S
CTRL + U
CTRL + X
CTRL + Z
Built-in commands
d: - A drive letter
filematch - an extact filename, or a wildcard match for files.
Items such as [item] are optional, ones such as <item> are compulsary.
DIR [d:][filematch]
Display a list of files in the specified, or current drive.
ERA [d:]<filematch>
Erase specified files. filematch *.* can be used to match all files in the current drive.
REN [d:]newname.ext = oldname.ext
Change the name of a disk file from oldname.ext to newname.ext
SAVE n [d:]filename.ext
Save the specified n number of pages of the transient program area to disk under the specified file name.
TYPE [d:]filename.ext
Display the contents of the specified file on the display screen. Display is only meaningful if the file contents was ASCII text.
USER n
Switches to the specified user area in a disk drive.
A user area is a physical area on a disk which has its own directory and which is managed seperately from the rest of the disk. Data cannot be read from or written to any user area other than that in which CP/M is currently operating. A disk can be divided up into a maximum of 16 user areas.
PIP
Copy FOO.TXT to console (print).
C:PIP CON:=A:FOO.TXT
Write to file from terminal (CTRL-Z to EOF, CTRL-M+J for new line):
C:PIP FOO.TXT=CON: