Commodore PC Ms-Dos 3.2 User's Manual page 192

Table of Contents

Advertisement

120 MS-DOS User's Reference
Using the template
Changing the
template
Examples:
Suppose you want to see the directory information for a file
named investmnt. To get this information you could type the
following command:
dir
invest.mnt
This command line {dir investmnt) 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 investrpt) 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.
U
U
u
u
u
u
u
u
u
u
u
u
u
u

Advertisement

Table of Contents
loading

Table of Contents