Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DOS command VOL
Message
 
À
12/01/2005 09:31:16
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00976376
Message ID:
00976377
Vues:
8
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform