Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HD_Serial x Volume_label
Message
 
 
À
07/09/2001 15:48:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00551618
Message ID:
00554039
Vues:
14
>>Sergey's answered your questions with API ways, but the volume label can also be retrieved using the ADIR() function by passing 'V' as one of the attributes.
>
>Can you give an example using this ?
>I haven't found any documentation about V attribute.
>
>I also tried those but no volume serial was returned.
>
>? ADIR(v,'c:','DV')
>DISPLAY MEMORY LIKE v
>? ADIR(v,'c:\','DV')
>DISPLAY MEMORY LIKE v
>? ADIR(v,'c:\*.*','DV')
>DISPLAY MEMORY LIKE v
>? ADIR(v,'c:\*.*','V')
>DISPLAY MEMORY LIKE v
>
As George stated in his message, it returns a Volume Label not a serial number.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform