VECTOR 4 USER'S
MANUAL
VECTOR 4 CP/M TRANSIENT
COMMANDS
Changing File
Attributes
To change the
attributes
of a file,
enter
the
command:
STAT d:<AFN>
$<attribute>[RETURN]
where
<attribute>
can
be
any mentioned above (R/O,
R/W,
DIR,
or
SYS). Be
sure
to
enter
the
$ before
the
three-letter
attribute
code
to
indicate
to
the
STAT
pr~ram
that
you wish
to
challie
the
file.
Remember
that
the
STAT
pr~ram
can be used on files
stored
on
another disk
by simply entering
the
name of the drive in place of the
d:
in
the
line
above.
Otherwise,
the
pr~ram
performs for
the
current
disk or diskette.
If
you have a fUe
that
you do
not
want
to
change or erase
accidentally,
you
can
use
the
STAT command
to
protect
it.
To
protect
the
file SAMPLE.DOC
(stored on the B drive),
enter
the
command:
STAT
B:SAMPLE.DOC
$R/O
[RETURN]
The
screen
will display
the
message:
SAMPLE.DOC
set
to
R/O
A>
Changing Disk
Attributes
If
you want to
protect
an
entire
disk from changes, enter:
STAT
d:=R/O [RETURN]
substituting
the
drive
you wish
to
protect
for
the
d:
in
the
example. This
temporarily
sets
the
whole
disk
as
read-only,
the
same
way
that
a
write-protect
tab
would keep a floppy
safe
from changes. However, you
can
protect
hard disks as well as floppies by using the STAT d:=R/O command.
It
is now temporarily impossible
to
copy information onto the disk,
to
erase fUes
or
parts
of fUes from
the
disk, or
to
add information
to
individual fUes on
the
disk.
To
change
the
disk
back,
enter
[CTRL C]. The
STAT
d:=R/O command will
only
protect
a disk
until
the
next
warm
or
cold
boot.
If
you
need
more
permanent
protection,
consider
the
CONFIG D
option
and
enable
the
last
prompt. See Page IX-IS for information.
Rev. A - 1-20-83
7100-0001
IX-25