beautypg.com

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

Page 17

background image

7/9/98

Using ROM-DOS 6.22 2-5

T r e e - S t r u c t u r e d D i r e c t o r y S y s t e m

DOS stores files in what is called a tree-structured filing system. The
different places where files are stored can be thought of as branches
on a tree. Each branch, actually called a subdirectory, is either
attached to the root directory or is attached to another branch.

This concept is often represented with a sideways tree when shown in
graphic form. Here is a simple two-branch, tree-structured system of
subdirectories:

ROOT DIRECTORY

SUBDIRECTORY

SUBDIRECTORY

The system may be as simple or complicated as necessary. Here is a
more complex system (ROOT and SUBDIR are used to save space).

ROOT

SUBDIR

SUBDIR

SUBDIR

SUBDIR

SUBDIR

SUBDIR

SUBDIR

SUBDIR

Each subdirectory has only one higher-level directory from which it
stems. This single directory is called its parent.

Also note that each one of the subdirectories within this system can
contain files. A subdirectory containing no files is empty.