Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

recursing subdirectories - redirector (Developers)

posted by usotsuki, 25.10.2025, 18:15

> > > Although closer inspection:
> > > https://www.ctyme.com/intr/rb-2977.htm#Table1626
> > >
> > > suggests that this is a fixed size that won't be expanded with new DOS
> > > versions.
> > >
> > > And that size is decimal 43 bytes.
> >
> > That tracks, yes.
>
> Did Microsoft document this somewhere?
>
> ie before calling FindFirst, you should SET the DTA to point to
> a 43-byte buffer?
>
> If not, how are you supposed to know something like this?
> ie that Microsoft guarantees that you only need 43 bytes
> for eternity. And that it doesn't need to be aligned on any
> particular boundary (2/4/8/16/32 bytes).
>
> Thanks. Paul.

Programmers' manuals from Microsoft for multiple versions of MS-DOS (I checked 2.0, 3.2 and 4.0) describe a 43-byte struct. The 3.2 and 4.0 manuals have example code that reserves exactly 43 bytes for a findfirst buffer.

 

Complete thread:

Back to the forum
Board view  Mix view
22750 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum