Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unc to drive letter to get available diskspace
Message
De
25/03/2004 17:52:55
 
 
À
25/03/2004 17:48:57
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00889811
Message ID:
00889813
Vues:
15
>If I know the unc path with the \\ can I get the available diskspace. The diskspace()function requires the Drive Letter. Would I have to figure out how to convert the unc path to a drive letter. If so how would I do that?


If you know a free drive letter you can try
*-- Assume Z drive is not used
SET VOLUME z: TO \\unc\share
? DISKSPACE('z:')
SET VOLUME z: TO
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform