[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 3Bh (59)        Change Directory (CHDIR)

    Change the current directory.

       On entry:      AH         3Bh
                      DS:DX      Pointer to name of new default directory
                                 (ASCIIZ string)

       Returns:       AX         Error code, if CF is set

       Error Codes:   3          Path not found

                      Call Function 59h for extended error code information
                      (DOS 3.0 and above).

  --------------------------------------------------------------------------

    Function 3Bh (CHDIR) changes the current directory to the directory
    whose path is specified in the ASCIIZ string at address DS:DX; the
    string length is limited to 64 characters.  The path name may include
    a drive letter.

See Also: 39h 3Ah 47h 59h
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson