Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>function 3bh (59) change directory (chdir)</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson