Re: path name limits
tom ehlert <[email protected]>
| Newsgroups | gmane.os.freedos.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
>DR DOS 3.31 - 6.0 should have no problems to traverse through
>directory structures of any depth, at least when using
>relative paths.
I wonder, how you implement
INT 21 - 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 #1020 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
for directory size >= 64
tom