Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verification of empty CD drive
Message
 
À
22/08/2005 14:39:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01042710
Message ID:
01042726
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks Hugo,
>
> I have two drives on my test box. One drive I have a CD with one folder on the root. The other drive is completely empty. When I try the DISKSPACE method, I get -1 for both drives. Ideas? Thanks!

Sorry, I thought the default was 1 instead of 2, try

DiskSpace(lcDriveLetter, 1)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform