EasyManua.ls Logo

Commodore PC 40 - Page 258

Commodore PC 40
494 pages
Print Icon
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...
1120
MS-DOS User's Reference
[
Using
the
template
Changing
the
template
Examples:
Suppose you
want
to
see
the
directory information for a file
named
invest.
mnt.
To get this information you
could
type
the
following command:
dir
invest.mnt
[
[
This
command
line
(dirinvest.mnt)
is also saved
in
the
template.
[~
If
you
want
to
repeat
the
command, just press
two
keys: F3 and _
RETURN.
MSĀ· DOS
displays
the
repeated
command
on
the
screen
when
you [
press
F3 as shown below: _
dir
invest.mnt
Notice that
when
you press
the
F3 key, MS-DOS copies
the
contents
of
the
template
to
the
command
line; pressing
the
RETURN key
then
sends
the
command
line
to
the
command
processor
for
execution.
If you
want
to
display information
about
a file named invest.rpt,
you can use
the
contents
of
the
template. Pressing F2 followed by
the
letter
m copies all characters from
the
template
to
the
com-
mand line,
up
to
but
not
including
the
m. MS-DOS displays:
dir
invest.
Note that
the
underline
is
your
cursor.
Now
type
the
letters
rpt
to get
the
following result:
dir
invest.rpt_
The command line
(dir
invest.rpt) is
now
in
the
template
and
ready
to
be
sent
to
the
command
processor
for execution.
To
run
the
command, press
the
RETURN key.
Now, assume that you
want
to
run
the
following command:
type
invest.
rpt
[
[
[
[
[
[
[
To
do
this, type
the
word
type and
then
press
the
following [
sequence
of
keys: INS,
SPACEBAR,
F3,
RETURN.
As you type,
the
characters appear directly
on
the
command
line,
overwriting their corresponding characters in
the
template. Before [
you press
the
INS key,
the
word
type replaces
the
word
dir
(and
the
space following
it)
in
the
template. After you
press
the
INS
key, this automatic replacement feature is
turned
off.
[
[

Table of Contents

Related product manuals