beautypg.com

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

Page 78

background image

3-20 ROM-DOS 6.22 User Manual

7/9/98

CHDIR (cont.)

CD a:

Displays the current directory on drive a:. Any valid drive letter can be
substituted to get the current directory on that drive.

The following examples all use this directory tree structure:

D:\DRIVE ROOT

TEST

WORDPROC

NEW

CD d:\TEST\NEW

Moves you into the subdirectory called NEW, located on the d: drive,
under the parent directory TEST.

CHDIR ..

Moves you back to the parent directory of the current subdirectory. If
you were in the directory d:\TEST\NEW (from the previous example),
this CHDIR command moves you from NEW back into the TEST
directory.

CD ..\WORDPROC

Moves you back to the parent directory and then into a subdirectory
called WORDPROC. If we started in the TEST directory, we move
back to the ROOT directory and then into the WORDPROC
subdirectory.

CD \

Moves you back to the root directory, from any starting point in the
directory tree.