as i understand the serial number is a software number assigned by the OS so it will not be equal to the phisical numbe, any way here is a simpler solution.
PUBLIC idDisco
oFS=CreateObject('scripting.filesystemobject')
idDisco = oFS.Drives('c').SerialNumber
Bernardo
>Yes.
>>
>>The suggestiob you made retreives the Volume serial number, not the HD serial number. Or am I mistaking.
>>
>>>Check
GetVolumeInformation API #12653
B.D.H.