beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 20

background image

2-8 ROM-DOS 6.22 User Manual

7/9/98

By using the CHDIR command, we can move to any directory, without
having to step through neighboring directories. We could have gone
straight to the LETTERS subdirectory from the ROOT by specifying
complete directions for reaching the desired directory.

T h e P a t h

Path refers to the set of subdirectories between the root and the
default directory. In the tree analogy this is a sequence of the names
of the branches leading to the branch you are currently on. The names
in the path are separated by a backslash (\).

In the preceding example, the path we ended with was called
\WORDPROC\LETTERS. The word ROOT doesn't appear in the path.
It is unnecessary to include it since all paths must begin with the root.
The root is represented by the first backslash (\) in the path.

By using the path description, we know where the default directory sits
in relation to its parent, and its parent . . . and so on back to the root.

The Drive Specification

Since ROM-DOS can store and retrieve information from more than one
disk drive, you should understand how drives are identified.

Disk drives are given letter names. By convention, floppy disk drives
are identified as drive A and drive B. Even on systems which have
only one physical floppy drive, ROM-DOS can treat the one drive as
either A or B.

The hard drive, if your system has one, is identified as drive C. It can
be partitioned, or divided, into smaller sections. Disks exceeding 4
gigabytes in sizes must be partitioned into two or more areas, with a
maximum size of 4 gigabytes per partition. Each partition of a drive is
identified by a separate drive letter. The first partition is drive C, the
next drive D, and so on. The highest available drive is Z.

Standard notation for the drive name in this manual is an italicized
small d and colon:

d: