Now,
though you
have
loaded it into your computer 's memory,
the program also remains on your data
diskette.
Once saved
,
your files
remain on
diskette until you use the
DELETE
FI LE(S)
function on the
DOS
Menu to erase them (see
"
Erasing Files
"
later in this section)
.
Copying Files
With the COPY
FILE
and
DUPLICATE
FILE options on the
DOS
Menu
,
you can copy your files from one diskette to
another.
You
can also make a backup copy of a file on the same diskette as
the original
,
provided you give the copy a different
filename.
Note: You cannot copy the files that make
up
DOS - DOS.SYS
and DUP.SYS - using either COPY FI
LE
or DU PLICATE FILE
.
Instead,
use
option
H.,
WR ITE DOS FI
LES,
to copy these files
(see Section 3).
Creating Some Practice Files
When going through the previous section of this manual
,
you
created a short program in BASIC and saved it on a data diskette
as PROGRAM1
.BAS.
To
learn how to use the copying
functions,
create a few more practice
files.
Load DOS and
BASIC,
if
necessary;
if you have already done so
and have the DOS Menu on your screen
,
select RUN CAR-
TR IDGE
.
Insert your data diskette (the one containing your PRO-
G
RAM1 .BAS
file)
in Drive 1 of your system
.
When the
READY
prompt
appears,
type the
three
SAVE commands below. Press
[
Aetl.m
)
after each line and wait while your disk drive saves the file
before proceeding
.
In
effect,
these files are nothing more than
filenames
,
but they're enough for you to work with as you learn
how to copy files
.
SAl)E
"D:
PROGRAt'12. BAS"
SAUE "D : PROGRAt'13
.
BA:3"
SAl)E "D :
P
F::OGRA~1
1
. PI L "
To Copy Files
Which of the two copying options you should use depends on
how many disk
drives
you
have and whether you want to copy a
file from one diskette to another or on
the
same diskette.
24