Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Available space on another drive
Message
From
12/10/1996 15:59:02
 
 
To
12/10/1996 15:56:00
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00009891
Message ID:
00009893
Views:
35
>FUNCTION DiskSpc
>PARAMETER m_D && Passed Drive letter
>m_DefDrive = FULLPATH(CURDIR()) && Store current path
>SET DEFAULT TO &m_D && Set to passed Drive letter
>m_RetVal = DISKSPACE() && Get the DiskSpace
>SET DEFAULT TO &m_DefDrive && Reset to the original path
>RETURN m_RetVal && Return the DiskSpace value

Thanks. That's a nice function but my restriction is that I can't do a CD or a SET DEFAULT TO in my application. I have a special reason for that.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform