Disk Drive Serial Number 
Author Message
 Disk Drive Serial Number

A long time ago,


>>I'd like to know how can I find out the volume serial number of a hard
>>disk without using chkdsk.exe or using it in a way that the result is
>>not visible on the screen.
>>P.S. I work with FoxPro 2.6a for Windows

I held on to this message, as it stuck in my mind as a frequently wanted
feature, and I finally found a dll file on Compuserve that the author has
put out as freeware, which provides the disk serial number, free drive
space and total drive space.

I have packaged his original zip file (pbdisk.zip) along with a sample FPW
2.6 program file that I wrote while testing it out (diskinfo.prg), and
posted them together as DISKINFO.ZIP, for any that might be interested.
It can be found at:


and is very small (about 7KB).  Should take less than a minute to

The dll was originally written to work with Visual Basic, so should work
with VFP3.0 as well, although I have only tested it with FPW2.6 so far.
If anyone finds anything better, or already has, please post it here so we
can all take advantage of it.


Bob Parker
Ameritel & Funding Visions

Wed, 12 Aug 1998 03:00:00 GMT
 Disk Drive Serial Number

        One good thing to get would be the disk's serial number from the
controller board (at least in IDE disks, I'm not sure about SCSI). One must
remember that the serial number returned by DOS is stored in the parameter
block for the disk ant changes easily, either by formatting the disk (with
DOS's format) or by using an utility (I have a Turbo Pascal program that was
typed from the pages of a magazine that does this).

** Concepts Expressed are PERSONAL, Not Of This Institution **
     Instituto Nacional de Formacion Tecnico Profesional
     Santo Domingo, Republica Dominicana. P.O.Box 2649.

Sun, 16 Aug 1998 03:00:00 GMT
 [ 2 post ] 

 Relevant Pages 

1. Disk Drive Serial Number?

2. I am having a problem with a hard disk drive or floppy disk drive

3. How Do I Detect a Drive Serial Number?

4. Hard Disk Serial Number

5. Obtaining Hard Disk Serial Number

6. How do I read the disk Serial Number

7. API for the hard disk label and serial number

8. FPW26: Getting a disk's serial number

9. Volume serial number of a hard disk


11. Hard disk serial number or Ethernet card serial number.

12. Provision Serial number and Control Number!

Powered by phpBB® Forum Software