Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hard Drive Serial Number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01675499
Message ID:
01675500
Vues:
77
>I tried to do a search for code to identify the hard drive serial number and I struck out.
>So I did some research and came up with the below. I hope it helps someone
>
>Determine Drive Serial Number
>objFSO = CreateObject('Scripting.FileSystemObject')
>objDrive = objFSO.GetDrive('C:')
>MESSAGEBOX(objDrive.SerialNumber)

This gives me a negative value which is not right.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform