Format of current directory structure (CDS) (array, LASTDRIVE entries) |
Offset | Size | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
00h |
67 BYTEs |
ASCIZ path in form X:\PATH (local) or UNC form \\SERVER\PATH (network, see notes below) | ||||||||||||||||||||||||||
43h |
WORD |
drive attributes (also see note below) (see also AX=5F07h)
|
||||||||||||||||||||||||||
45h |
DWORD |
pointer to Drive Parameter Block for drive (see #01395 at AH=32h) | ||||||||||||||||||||||||||
---local drives--- |
||||||||||||||||||||||||||||
49h |
WORD |
starting cluster of current directory
|
||||||||||||||||||||||||||
4Bh |
WORD |
??? seems to be FFFFh always | ||||||||||||||||||||||||||
4Dh |
WORD |
??? seems to be FFFFh always | ||||||||||||||||||||||||||
---network drives--- |
||||||||||||||||||||||||||||
49h |
DWORD |
pointer to redirector or REDIRIFS record, or FFFFh:FFFFh (DOS 4 only) available for use by IFS driver | ||||||||||||||||||||||||||
4Dh |
WORD |
stored user data from INT 21/AX=5F03h | ||||||||||||||||||||||||||
------ |
||||||||||||||||||||||||||||
4Fh |
WORD |
offset in current directory path of backslash corresponding to
root directory for drive this value specifies how many characters to hide from the "CHDIR" and "GETDIR" calls; normally set to 2 to hide the drive letter and colon, SUBST, JOIN, and networks change it so that only the appropriate portion of the true path is visible to the user |
||||||||||||||||||||||||||
---DOS 4.0+ --- |
||||||||||||||||||||||||||||
51h |
BYTE |
(DOS 4 only, remote drives) device type 04h network drive |
||||||||||||||||||||||||||
52h |
DWORD |
pointer to IFS driver (DOS 4) or redirector block (DOS 5+) for this drive, 00000000h if native DOS | ||||||||||||||||||||||||||
56h |
WORD |
available for use by IFS driver |
Note: |
The path for invalid drives is normally set to X:\, but may be
empty after JOIN x: /D in DR DOS 5.0 or NET USE x: /D in older LAN versions. |
See Also: |
#01644,INT 21/AX=71AAh/BL=00h |