🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
1 messages
1 total messages Started by Tamboer Erik Sun, 19 Aug 1990 21:24
detect logical disk drives ??
#1929
Author: Tamboer Erik
Date: Sun, 19 Aug 1990 21:24
17 lines
1221 bytes
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.  /__\/
 /___________________/      /_______________________________________/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads