Date: Thu, 9 Jan 1997 09:15:02 +0200 (IST) From: Eli Zaretskii To: "x DOT pons AT cc DOT uab DOT es" cc: djgpp AT delorie DOT com Subject: Re: Getting volume serial number In-Reply-To: <01IDYTM9RY420016QK@cc.uab.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).