Lee Mac Posted May 13, 2010 Posted May 13, 2010 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! Quote
sharpooth Posted May 13, 2010 Author Posted May 13, 2010 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 Quote
alanjt Posted May 13, 2010 Posted May 13, 2010 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. Quote
Lee Mac Posted May 13, 2010 Posted May 13, 2010 Sorry, but which did you use? The WMI method or the FSO? Quote
Lee Mac Posted May 13, 2010 Posted May 13, 2010 Sometimes another method isn't always the best method. I don't see your point - the data they retrieve is totally different. Quote
alanjt Posted May 13, 2010 Posted May 13, 2010 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. Quote
Lee Mac Posted May 13, 2010 Posted May 13, 2010 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. Quote
alanjt Posted May 13, 2010 Posted May 13, 2010 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. Quote
sharpooth Posted May 13, 2010 Author Posted May 13, 2010 Sorry Lee Mac about this problem I just want to uderstand why there is a different... Sorry again Quote
Lee Mac Posted May 13, 2010 Posted May 13, 2010 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. Quote
sharpooth Posted May 14, 2010 Author Posted May 14, 2010 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! Quote
Recommended Posts
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.