The commands summarized in this chapter can be used
to
perform the following
tasks:
• Copying a disk (DISKCOPY)
• Formatting a new disk (FORMAT)
• Relabeling a disk (RELABEL)
• Looking at a disk's directory (DIR)
• Viewing the files
in
a directory (LIST)
• Protecting a file from deletion (PROTECT)
• Getting information about a
file
system (INFO)
• Changing the current directory (CD)
• Setting the date and time (DATE)
• Typing a text file to the screen (TYPE)
• Renaming a
file
(RENAME)
• Deleting a file (DELETE)
• Copying files on a single disk system (COPY)
• Copying files on a dual disk system (COPY)
• Creating a new directory (MAKEDIR)
• Redirecting the output
of
a command (»
• Using the RAM disk
• Changing the Startup-Sequence
• Setting the Real Time Clock (SETCLOCK)
• Opening a new CLI window (NEWCLI)
• Closing an existing CLI window (ENDCLI)
We suggest you read and try each
of
these items
in
sequence. Each command
leaves the Amiga
in
a known state, so the command which immediately follows
will work exactly as shown.
Before you begin this section, be sure you have two blank double-sided dis-
kettes, along with your Workbench disk. Write-protect your master diskette, and
write-enable the blank disk before you begin (by sliding the write-protect
notches,
as
explained
in
Chapter 2) . Most
of
the commands reviewed
in
this
chapter assume that you have a single disk drive system. However, for conve-
nience
of
those with more than
one
disk drive, the two disk version
of
the
command
is
occasionally given.
Commands you give AmigaDOS are shown indented from the left margin.
After typing each command, press the Return key to return control
to
Amiga-
DOS . Although the commands are all shown
in
capital letters, it
is
mainly to help
you distinguish them from the rest
of
the text.
7-4
AmigaDOS and the CLI