Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unc to drive letter to get available diskspace
Message
From
25/03/2004 17:52:55
 
 
To
25/03/2004 17:48:57
Bill Drew
Independent Consultant
Chicago, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00889811
Message ID:
00889813
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform