tamboer@cs.vu.nl (Tamboer Erik) (08/20/90)
Is there a reliable way to figure out how many and
preferrably which (e.g. A:, C:, D:) logical disk drives
are available in a DOS system? DOS function 10h is not
satisfactory, since it simply returns the LASTDRIVE=
value. If I set LASTDRIVE=Z in my config.sys file,
function 10h returns 26, but all I have is A: and C:.
Again, I am talking about _logical_ drives, including
RAMdisks and SUBST'd drives, so BIOS INT 11h won't do either.
Solutions in C or ASM, and hints are very much
appreciated.
Thanks in advance,
Erik
--
____________________ ________________________________________
/ Erik Tamboer /\__ / I would have included a really funny /\__
/ tamboer@cs.vu.nl /__\/ / joke here, but I already logged out. /__\/
/___________________/ /_______________________________________/