Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading Disk Serial Number of NTFS drive
Message
From
31/12/1999 07:54:58
 
 
To
31/12/1999 05:20:30
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00310850
Message ID:
00310864
Views:
30
>I need to read Disk Serial Number or some other unique
>number of a NTFS disk for copy protection. It is allowed
>that this number may change when disk is re-formatted or
>re-created.
>
>However, it seems that Get Volume Information API call
>will not return such information for NTSF disks.
>
>Is it possible to get this for NTFS disks ?

It's trivial - use the Scripting.FileSystemObject from the Windows Script Host, open a drive object and examine the serial number.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform