Switching Default Drives; Direct Console Commands; Dir Command; Erase Or Era Command - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

Switching default drives
If you have an additional disc drive connected, then it is possible to switch the default
drive selection between Drive A and Drive B by typing A: or B: at the B> or A>
prompt. That prompt, of course, tells you the current default drive. Adding the A :
and B : prefix to filenames overrides, but does not reset, the default drive setting.
Direct Console Commands
There are a number of Direct Console Commands which can be typed at the A> or B>
prompt. Each command can be abbreviated, and although the simple functions
described below are genuinely built-in, there are also more sophisticated transient
commands with the same name.
DIRcommand
D
I R lists the
D
I Rectory of the disc. The filenames are not sorted into any particular
order, but the position of the file name in the
D
I R display indicates the position of
that file's entry in the disc directory. Wild cards are permitted. Files set with the
'S Y S' attribute will not be listed.
DIR
DIR B:
will list files on the default drive.
will list files on Drive B :
will list files oftype • BA S
will list files oftype • BA S on Drive B :
DIR *.BAS
DIR B:*.BAS
DIR PIP.COM.
will list only the file PIP. CO M (ifit exists).
DIRSYS or DIRS command
D
I R S Y S or
D
I R S lists only those directory entries with the'S Y S' attribute set.
Otherwise it operates as
D
I R. The S Y S attribute is described later.
ERASE or ERA command
ERA is used to ERAse files from the directory. Only the directory entry is erased, so
the data is still in the data section ofthe disc until the space is re-used by another file;
however, the information is nevertheless not recoverable. Wild card filenames are
permitted, and if used, ERA will ask for confirmation. ERA does not list the filenames
that are deleted. If any file about to be erased is found to be Read/Only then the
command will abort. The Read/Only attribute is described later.
AMSDOS and CPIM
Chapter 5 Page 21

Advertisement

Table of Contents
loading

Table of Contents