DOS(2) getting assigned drive letters

Par ro

Scribe (4698)

Portrait de 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?

!login ou Inscrivez-vous pour poster

Par sjoerd

Hero (602)

Portrait de sjoerd

18-05-2021, 15:25

Par ro

Scribe (4698)

Portrait de ro

18-05-2021, 16:51

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

Par msd

Paragon (1472)

Portrait de msd

18-05-2021, 18:23

Wasn’t there something with ramdisk H: