Jump to content

Recommended Posts

Posted

Ah!

 

Its because I'm on Vista....

 

SerialNumber

Data type: string

Access type: Read-only

Number allocated by the manufacturer to identify the physical media.

Example: WD-WM3493798728

Windows Server 2003, Windows XP, Windows 2000, and Windows NT 4.0:
This property is not available.

Missed that!
  • Replies 31
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    12

  • alanjt

    10

  • sharpooth

    6

  • JohnM

    3

Top Posters In This Topic

Posted

Hi Lee,

when I am starting your code the rezult is

 

 

Command:

Command:

Command: (DiskDriveSerial)

(0 0 0)

 

???:(

 

when I am starting doslib:

 

 

Command: (dos_serialno "c")

"DC3DE5FA"

but my serial number is

 

Drive Serial Number_______________: 96352850172496771836

 

o:)

Posted
I wonder if it has to do with you running Vista.

 

Ah!

 

Its because I'm on Vista....

 

 

 

Missed that!

 

Deja vu:lol:

Sometimes another method isn't always the best method.

Posted

Sorry, but which did you use? The WMI method or the FSO?

Posted
Sometimes another method isn't always the best method.

 

I don't see your point - the data they retrieve is totally different.

Posted
I don't see your point - the data they retrieve is totally different.

 

Ahh, but when you posted you didn't specify that the return would be different. :wink: Also, the fact that it doesn't work on anything lower than Vista is a huge hindrance.

Posted

I made no reference to the Serial Number returned by the FSO when I posted, and furthermore, I don't see why you should dismiss my method, just because it does not work on your system - it may, after all, be that which the OP requested.

Posted
I made no reference to the Serial Number returned by the FSO when I posted, and furthermore, I don't see why you should dismiss my method, just because it does not work on your system - it may, after all, be that which the OP requested.

LoL

I never said one should dismiss anything, and it might just be what the OP wants. I was commenting on the lack of versatility.

Posted

Sorry Lee Mac about this problem

I just want to uderstand why there is a different...

Sorry again

Posted

Sharpooth,

 

The Serial as returned by the FSO/dosLib is that which is used by the system to identify the volume.

 

The Serial as returned by the WMI Query is that used by the Drive Manufacturer.

Posted
Sharpooth,

 

The Serial as returned by the FSO/dosLib is that which is used by the system to identify the volume.

 

The Serial as returned by the WMI Query is that used by the Drive Manufacturer.

 

 

THANK YOU Lee Mac!!!

I know that you are the BEST!

:D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...