DOS(2) getting assigned drive letters

By ro

Scribe (5057)

ro's picture

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 or register to post comments

By sjoerd

Hero (611)

sjoerd's picture

18-05-2021, 15:25

By ro

Scribe (5057)

ro's picture

18-05-2021, 16:51

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

By msd

Paragon (1532)

msd's picture

18-05-2021, 18:23

Wasn’t there something with ramdisk H: