EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 24

Radio Shack TRS-80 Model 4
418 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ATTRIB
Assigns protection passwords and attributes to a particular file or a
group of files.
You can use ATTRIB to protect a file with passwords.
Command
ATTRIB filespec
(parameters)
For filespec ATIRIBs, the parameters are:
USER
= "password" sets the user password to password. If this
parameter
is
omitted, the user password remains the same.
If USER
=
is
specified with
no
password, then any current
user password
is
removed.
OWNER
= "password" sets the owner password to password.If
this parameter
is
omitted, the owner password remains the
same. If OWNER
=
is
specified with no password, then any
current owner password
is
removed.
PROT
= level specifies the protection level that
is
enforced
if
the
user password
is
specified.
If
this parameter
is
omitted, the
level
is
unchanged.
You
have to give a file
an
OWNER
password before
you
can set PROT. The optional levels for
access
to
a file are:
EXEC Execute only
READ Read and execute
UPDATE Update, read, and execute
WRITE Write, update, read, and execute
RENAME Rename, write, update, read, and execute
REMOVE Remove, rename, write, update, read, and
execute (allows total access except for
changing attributes with the
ATIRIB
command.
FULL Allows total access
VIS specifies the filespec
as
visible
in
the directory
INV specifies the filespec as invisible
in
the directory. Use the
INV parameter to reduce the number of files that TRSDOS
displays when
you
issue a DIR command.
You can abbreviate the levels of PROTection to their first two letters
except for RENAME and REMOVE, which you can abbreviate to
RN
and
RM
respectively.
Command
ATTRIB
[:drive] (disk parameters)
1-19

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals