help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CHDIR (CD)
Notes  Examples
────────────────────────────────────────────────────────────────────────────
 
                                 CHDIR (CD)
 
Displays the name of the current directory or changes the current
directory.
 
Syntax
 
    CHDIR [drive:][path]
 
    CHDIR[..]
 
    CD [drive:][path]
 
    CD[..]
 
To display the current drive letter and directory name, use either of the
following syntax lines:
 
    CHDIR
 
    CD
 
Parameters
 
[drive:][path]
    Specifies the drive (if other than the current drive) and directory to
    which you want to change.
 
 ..
    Specifies that you want to change to the parent directory.
 
                                      ♦