DOS(2) getting assigned drive letters

Door ro

Scribe (4454)

afbeelding van ro

18-05-2021, 15:16

Hai,

I'm in the middle of developing some file wrapper stuff, don't ask. I can't get my head around how to get assigned drives information. You know, which drives are registered in DOS(2) at the moment? Drive A:, B:,H: ?

Couldn't find anything like that in the DOS specs other than http://map.grauw.nl/resources/dos2_functioncalls.php#_SELDSK function. But that only tells me how many, not which drive letters are taken.

So, anybody?

Aangemeld of registreer om reacties te plaatsen

Van sjoerd

Hero (602)

afbeelding van sjoerd

18-05-2021, 15:25

Van ro

Scribe (4454)

afbeelding van ro

18-05-2021, 16:51

Oh chucks how did I miss that one. I feel so stupid now.
Thanx Sjoerd!

Van msd

Paragon (1461)

afbeelding van msd

18-05-2021, 18:23

Wasn’t there something with ramdisk H: