beautypg.com

Naming subdirectories, Moving around the tree – Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 18

background image

2-6 ROM-DOS 6.22 User Manual

7/9/98

Naming Subdirectories

You create subdirectories. You can create any structure you choose
(within the tree system) giving each a subdirectory name you want.
The naming of subdirectories is similar to the naming of files. There is
an 8-character limit with the same character choice limitations as for
file names (letters, numbers, and symbols). A subdirectory name can
also have an extension. Commonly the extension is not used so that
subdirectory names look different from file names.

Here is an example of the same directory structure used in the
previous section. This time some actual subdirectory names are used:

ROOT

WORDPROC

UTIL

MYTOOLS

LETTERS

FORMS

DATA

BRIT

KARI

Subdirectories are created and deleted with the MKDIR and RMDIR
commands. For more information on creating and deleting
subdirectories, see the MKDIR and RMDIR in Chapter 3.

Moving Around the Tree

At any one time, ROM-DOS works from one particular point in the tree-
structured filing system. This one particular point or place is called the
default directory. When the computer is first powered on, operations
begin in the root directory. Thereafter, you can change the default
directory to be any subdirectory on your system. It is also possible to
have the computer automatically move to a different directory upon
system startup by adding commands to your AUTOEXEC.BAT file.