Mail Archives: djgpp/1997/01/09/02:33:11
On Wed, 8 Jan 1997, x DOT pons AT cc DOT uab DOT es wrote:
> Could someone tell me, please, how can I know the voume serial number of a
> disk drive?
>
> I am specially interested in those ways not using "low level" calls,
> so they can also be executed on NT machines.
Use Int 21h function 440Dh with CL=66h. This will work on MSDOS versions
4.0 and higher. I don't know if it works on NT, but I don't know about
any other way to do that even on MSDOS, short of reading sectors directly.
The details of that function are explained in Ralf Brown's Interrupt List
(too long to reproduce here).
- Raw text -