Download Print this page

Motorola EXORdisk II User Manual page 196

Advertisement

NAME COMMAND
20. 1 -- Use
way in which the attributes are to be changed is specified in
the
<options:>
field.
Thus,
it is possible to change both a
~ile's
name and/or suffix and its attributes
with
the
same
invocation of the NAME command.
The
inherent
attributes
or
a
Tile
that
define its
physical format on the diskette (contiguous allocation,
space
compression:
memoT'y-im.3ge;
etc.)
cannot be changed.
These
attributes remain with
a
file Trom
the
time
it
is
created
until
the
time
it
is
deletedi
however,
the
protection
attributes and the system attribute can
be
changed
at
any
time.
The
protection
attributes
or
a
rile
are changed by
specirying the letter
"X"
{remove protection)1
tfW"
(set wi'ite
protection),
OT'
"D" (set delete protection)
in the <options:>
rield.
The system attribute is
Changed
by
speciFying
the
letter
"S"
(set
system
attribute)
or
"Nil
(remove system
attribute).
A
maximum
or
rive
option
letters
can
be
specified at one time.
The option letters are processed from
left to -right.
For example,
if a file Ulith write
protection
set is to have only delete protection set,
the command
line
NAME TESTPROGi XD
could be used.
If
the
"X"
and
tiD"
options were reversed,
the
file would be unpT'otected.
If no <name
2~
is speciried,
then
an
<options>
field
must
be present.
In such cases,
the -Family indicator can be
used ror both the file name
and
the
su-Ffix
or
(name
1).
Thus,
a
diskette
can
have
all
o-F its files protected or
unprotected with a single invocation o-F the
NAME
command.
20. 2 ET'ror Messages
1he -Following error messages can
be
displayed
by
the
NAME
command.
The
standard
error
messages
that
can be
displayed
by
all commands are not listed here ..
**
25 INVALID FILE NAME
This error message is displayed rOT the following
reasons:
both
<name
1:>
and
<name
2:>
were
specified on the
command
line
and
the
family
indicator
was
present in both the
~ile
name and
the suffix portion of <name
1);
both <name 1:> and
<name
2> were entered with the -Family indicatoT';
or a device name was used for <name
1)
or
<name
2:>.
Page
20-03

Advertisement

loading

This manual is also suitable for:

Exordisk iii