136
MS-DOS User's Guide
Starting an
application
Creating a file with
~dlin
Once
you
have started MS-DOS
you
can
run
an application program,
as follows:
m Place
the
application disk in an
empty
disk
drive
(usually drive
B if you have
two
floppy disk drives
or
a
hard
disk).
rn
Change
the
default drive
to
the
one
that
contains
the
applica-
tion disk.
00
Type
the
name
of
the
application program
you
want
to
run.
For example,
if
you
had
a
word
processor
called Phrase, you
might
want
to
use it
to
write
a monthly status
report.
Suppose
also that
to
start Phrase
you
must
type
the
word
"phrase."
So,
to
create
this report, you
would
follow
these
steps:
m Put
your
Phrase
program
disk into drive
B.
rn
Change
your
default disk drive
to
B by typing
the
following:
b:
00
Start Phrase by typing "phrase_"
Then
you
could
use Phrase
to
create, edit, format,
or
print
your
status report.
How to Create a File with Edlin
MS-DOS includes a program called edlin.exe, a
line
editor
that lets
you
create
and
edit
files.
Edlin
is called a line
editor
because it
lets you edit files line by line.
To
help
you learn
how
to
use
edlin,
the
following section takes
you through a sample editing session in
which
you'll use
edlin
to
create
a small file.
Suppose a client asks you
to
write
a catchy
advertisement
for an
electric pencil sharpener, so you
decide
to
create
a file named
pencilad
on
the
disk in
the
default drive_ You
want
the
file
to
contain
the
following lines:
Introducing ...
The
X-loOO Automatic Pencil Sharpener
From Sharpe Office Supplies
The
World Leader in Office Sharpeware
[]
CI
CJ