To change to a different current directory, you tell the system which directory
is
to be the current one. For example, when you did a DIR command on
dfO
:, you
saw
an
entry for c(dir). If you want that directory to become the current one, you
is
sue the command:
CDC
Now when you issue the command DlR, it shows the contents
of
this level
of
the
filing system. The command CD alone shows you the name
of
your current
directory. You go up to the root directory by specifying:
CD:
to go up to
the.
root level on the current volume (if you refer to your
di
skettes by
volume
name)-make
sure you leave a space before the
colon-
, or
CD
dfO:
to go to the root volume on the built-in disk drive.
To move up one level
in
the directory structure (to go from a subdirectory toward
the root directory), enter:
CO l
Later
in
this chapter, you'll see how to create new directories with the MAKEDIR
command.
Setting the Date and Time
You can set the AmigaDOS clock by using the DATE command. Enter the date
in
the format DD-MMM-YY (two digits for date, three letters for month, and
two digits for year). Enter the time
in
the format HH:MM:SS, with seconds being
optional. Try an example
of
setting the clock:
DATE
12:00:00 01-apr-87
If
you just enter DATE with no additional information, the current values for
date and time are returned.
7-12
AmigaDOS and the
eLI