Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOS command VOL
Message
 
To
12/01/2005 09:31:16
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976376
Message ID:
00976377
Views:
7
>How can I get the serial number informed by the DOS command VOL?

Try:
RUN VOL > sNum.TXT
m_file = FILETOSTR("sNum.TXT")
and extract Serial Number (In WinXP SP2 Ser.# is in "Volume Serial Number is A4D5-3E29" string) I am not sure if any Windows returns Ser.# in same string.
BTW way You not use WIN32API or Scripting Host function for this?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform