Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to verify which kind of drive
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00031952
Message ID:
00034999
Vues:
28
>>> I want to create a procedure that would verify if the information of the
>database it's stored in hard disk or in my CD-Rom. <<
>
>1. extract the drive letter from the file name
>2. DISKSPACE(driveletter) will give 0 on a CD ROM and (hopefully) >0 on a hard
>disk.

If the user forgets to insert a CD-ROM DISKSPACE() will return -1.

Thanks
Nick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform