SAM Coupe Disk Drive Manual 15
FILE-NAME
EXTENSIONS
MORE ABOUT
FORMATTING
The effect of the asterisk is to say that
all the other letters in the file-name don't
matter: you wish to ERASE all files
beginning with "n". Be careful: we mean ALL
files.
You could also type: ERASE "??mb*"
You would then ERASE all files which have
"mb" as their third and fourth letters. The
effect of each question-mark is to say "this
letter is of no significance".
The same syntax - using * and ? - is
available for COPY and DIR commands. Thus if
you wanted to COPY all the "numbers" files
as "figures" files, you'd type: COPY
"numbers*" TO "figures*"
Note that if you are using wild cards, the
new file-name must have the same number of
characters as the first -in this case eight.
You already know that file names can be up
to 10 characters long, including spaces. But
to help you organise your files, the Coupe
allows you to use file-name extensions, in
much the same way as a business computer.
For example, you might tag all your letter
files with the extension "let", all your
database files with "dat", and all your
graphics files with "gra":
Your DIRectory might be:
Letter1.let bank.dat stamps.dat
bank.let bank.gra stamps.gra
invite.let letter2.let bank2.dat
(Note file-names are still less than 10
letters.)
Then to display a DIRectory of all your
letters, you'd type: DIR 1 "*.let", or to
display a listing of all the files
concerning your bank affairs, you'd type:
DIR 1"bank.*"
You've already learnt how to FORMAT a disk
using the menu program on the System Disk.
When you did this SAMDOS2 was also copied
and you made new system disks.
However, it's also possible to FORMAT using
a direct command. Doing it this way, you
don't of course copy the DOS as well. Simply
type:
FORMAT
or FORMAT "d2:" for drive 2.
Содержание SAM drive
Страница 1: ......