SAM Coupe Disk Drive Manual 14
ERASING A FILE
SHORT-CUTS
TO LOADING
"Machines have
less problems.
I'd like to be
a machine."
(Andy Warhol)
WILD CARDS
If you're using two
drives
, you can also copy
a file from one drive to the other:
COPY "d1:File-name" TO "d2:File-name"
If you add a file-name after the d2, the new
copy will have this as its file-name;
otherwise it will be the same name as the
original file.
The COPY TO command will not copy Snapshot
files, which we will come to later.
You can also use COPY TO
to copy from
drive 2 to drive 1. For example:
COPY "d2:file-name" TO "d1:new name"
Let's now erase the file called Example 1:
ERASE "Example 1"
Your DIRectory will confirm that the change
has been made.
(As usual, you can also ERASE"D2:
file-name
".)
Now you've done it the hard way, let's start
making things easier for you. First,
loading. Instead of typing in the LOAD
command with the file-name, you can type,
for example: LOAD B. Remember that the Coupe
will attempt to LOAD from the default
device.
If your DIRectory was the same as that shown
earlier in this manual you would load the
Astronaut screen - file number 8 in the
DIRectory. This abbreviated syntax is
particularly handy if you're the sort of
person who uses code files. For example,
LOAD 15 instead of
LOAD "dumpld"CODE
Wild cards in a file-name allow you to COPY,
ERASE or inspect the DIRectory of a group of
similar files in a single operation. Let's
imagine, for example, that you have a series
of files called, say, numbers1, numbers2,
numbers3, numbers4.
To ERASE all of them, you can type:
ERASE "numbers*"
You could also type
ERASE "n*"
but this would ERASE eve file on the disk
starting with the letter n!
Summary of Contents for SAM drive
Page 1: ......