Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Harddisk number
Message
De
11/06/2004 10:12:57
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
À
11/06/2004 09:41:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00912675
Message ID:
00912699
Vues:
7
oFS = CREATEOBJECT("Scripting.FileSystemObject")
cDrive = SUBSTR(SYS(16,1),1,2) &&"C:"
If oFS.DriveExists(cDrive)
oDrv = oFS.Drives.Item(cDrive)
lnvol=oDrv.SerialNumber
lnvolhex=substr(transform(lnvol,"@0"),3,4)+right(transform(lnvol,"@0"),4)
?lnvolhex
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform