You copy certain files to
the RAM disk,
change your
directory to the RAM disk,
then
copy from the
RAM disk
onto
the destination disk. Here
is a sample
sequence:
COPY
dfO:c/CD
RAM:
COpy dfO:c/COPY RAM:
CD RAM:
Insert the
source
data disk into the
drive
.
For
this
example, we'll copy something
from
the
Workbench disk, which is already in
the
drive.
Issue
the
command:
COPY dfO:c/EXECUTE RAM:EXECUTE
Remove
the
source disk, and insert
the destination disk
into the drive.
Issue the command:
COPY RAM:EXECUTE dfO:EXECUTE
Remove the destination disk, and insert your Workbench disk into the drive
again.
Issue
the command:
CD dfO:
and you are
back
where you started
.
The
only other command you may want to
perform is:
DELETE RAM:CD RAM :COPY RAM:EXECUTE
which returns the
RAM
disk memory
to
the system for other uses.
Copying files
using
two drives is much less complicated:
COPY FROM dfO:sourcepath TO df1 :destinationpath
or
COPY dfO:sourcepath df1
:destinationpath
7-18
AmigaDOS and the CLI