Download Print this page

Motorola EXORdisk II User Manual page 41

Advertisement

GENERAL
SYSi~~
OPERATION
2.8 -- Typical Command Usage Examples
MDOS
as a bas
i s
(i.
e.
I
programs that
use
th e res
i
dent sy stem
functions) are loaded without the
"V"
option.
Chapter
18
describes
the
details
of
the
LOAD
command and should
be
consulted if more information is required.
CAUTION:
AFTER THE DEBUG MONITOR HAS BEEN
ENTERED
VIA
THE
LOAD
COMMAND, MDOS MUST NOT BE INITIALIZED VIA "E800;G"
OR ItMDOS" UNTIL EITHER THE ABORT OR
RESTART
PUSHBUTTON
HAS
BEEN DEPRESSED.
2.8.7
NAME -- File name changing
The
NAME command allows file names and/or suffixes to be
changed
~,..om
their originally
assigned
values.
Often,
as
a
program
is
developed,
its
author decides that a file name
other than the original one would
be
more
appropriate
and
descriptive.
The
format of the command line for changing a
file's name is:
NAME <name
l~,<name
2~
This command line requires the
operator
to
enter
two
names',
The
first
'name, <name
l~,
specifies
the
current
or
origin.al name o.p
the
Tile.
The
default
suffil
"SAil
is
supplied automatically if none is given by the operator.
The
second
name~
<name
2~J
indicates the new name that is
to
be
assigned
to
the
rile
now known bq <name
·1>.
Thus.
if the
.file from the above examples,
TESTPROG, were to
be
given
a
more
desc-riptive
name,
such
as
BLAK~AC~,
the
following
command would be used:
NAME
TESTPROG,BLAKJACK
In this case,
only the .pile
name
of
the
source
file
~ould
be
changed.
Other
files with the name TEST?ROG but
with sUTrixes other than
liSA"
lJJould remain
unaffected.
The
contents
of
the
file
that
has
its name changed are also
unaffected
only the name in the directory is changed.
2.8.8 NAME
File protection changing
The NAME command
att~ibut~s
o~
a file.
file's protection is:
is also used to change
the
protection
The
command line format for changing a
NAME
<name/i<options~
The
<name> ent-ry is required to identify the file
whose
attributes
are
to
be
changed.
The
<options~
field contains
-~
the
1
e t t
e
r sO,
W~
0
r
X
to
in d
i
cat
e
how
the
pro tee t ion
j
. J
attribute$
are
to
be
changed.
The
letters
take on the
following meanings:
Page
02-22

Advertisement

loading

This manual is also suitable for:

Exordisk iii