Int 21/AH=47h

Prev Next Ralf Interrups Categories Contents

------

DOS 2+ - CWD - GET CURRENT DIRECTORY

AH = 47h
DL = drive number (00h = default, 01h = A:, etc)
DS:SI -> 64-byte buffer for ASCIZ pathname

Return:
CF clear if successful AX = 0100h (undocumented) CF set on error AX = error code (0Fh) (see #01680 at AH=59h/BX=0000h)

Notes: The returned path does not include a drive or the initial backslash. Many Microsoft products for Windows rely on AX being 0100h on success. Under the FlashTek X-32 DOS extender, the buffer pointer is in DS:ESI

See Also: AH=19h - AH=3Bh - AH=71h - INT 15/AX=DE25h

Category: DOS Kernel - Int 21h - D

------

Prev Next Ralf Interrups Categories Contents

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home

Search the web with Google
Google
Google
Google

------