Download Print this page

Radio Shack TRS-80 Owner's Manual page 44

Mini-disk operation disk operating system disk basic programming language
Hide thumbs Also See for TRS-80:

Advertisement

ppin
-
/five/tsiSs
TRSiins the
protection
level
for
access.
II
omitted.
in Mat
is
usiLhanyeii
Level
Degree
cf
access granted
by
access
word
•.•in
Fuii
access, no protector
Kiu
K;i!.
rsnams.
rsari.
execute,
and
write (gives
iotai
access,
i.e.,
the least-protected}.
nawi
Rename,
read
execute,
and
write
WHSTt
Read
execute,
ana
write
rfai)
Paso
ans
sxet'^e.
rxn:
?ye;^ie
sni'v
Nc
!
.8'
Each
!evBi
si'nws access
ic
MseM
plus
ail
lower
levels
attrib
lets
you change
the
passwords
to
an
existing
file
or
makes
the
file
invisible
or non-invisible.
Passwords
are
initially
assigned
when
the
file
is
created.
At
that
time, the
update and
access
words
are
set to
the
same
value
(either the
password you
specified or a
blank password).
Examples
ATTRIB DATAFILE
(
*ACC
=
JULY14 »UPD=M0USE »PR0T=READ
Makes
the
file
invisible, sets the
access
password
to
julyh
and
the
update
password
to
mouse. Use
of
the
access
word
will
allow only reading and
executing
the
file.
ATTRIB PAYROLL/BAS, SECRET (N»ACC=»)
Sets the
access
word
to
blanks.
The
file is
made
non-invisible
and
the protection
level
assigned
to
the
update
word
is
left
unchanged.
ATTRIB OLD/DAT, APPLES
(UPD=
f
)
Sets the
update
word
to
blanks.
ATTRIB PAYROLL/BAS,
PW
(PR0T=EXEC)
Leaves
the
access
and
update
words unchanged,
but
changes
the level
of
access.
Sample
Uses
Suppose you have
a
data
file,
payroll, and you want
an
employee
to
use
the
file
in
preparing
paychecks.
You
want
the
employee
to
be
able
to
read
the
file
but not
to
change
it.
Then
use
a
command
like:
28

Advertisement

loading

This manual is also suitable for:

Model iii