INT 21,47 - Get Current Directory

AH = 47h

DL = drive number (0 = default, 1 = A:)

DS:SI = pointer to a 64 byte user buffer

on return:

DS:SI = pointer ASCIIZ directory path string

AX = error code if CF set (see ~DOS ERROR CODES~)

- returns the current directory relative to the root directory

- the leading slash "\" and drive designator are omitted


Zurück zum Interrupt Info. Roger Morgan / 1998 L.Änderung 29.03.99