Re: Getting DiskDrive Space



Lee,
Unfortunately it's near impossible to make a Windows API call from FP DOS. <g>

Rick

"Lee Mitchell" <Leemi@xxxxxxxxxxxxxxxxxxxx> wrote in message news:vCyXo3UvFHA.768@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Shay:

I found code on Universalthread.com that allows you to get disk space
statistics beyond 2 GB.  Go to www.universalthread.com, click on the
Download icon, and choose Visual FoxPro as the product. In the ID text box
of the query page, search for "9718."

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
  - VFP5 Mainstream Support retired June 30th, 2003
  - VFP6 Mainstream Support retired Sept. 30th, 2003

But it doesn't return a good value for any partition greater than ~2GB -
that
was an "ultimate" limit in DOS.

Rick

"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:%23LCQQpjuFHA.1472@xxxxxxxxxxxxxxxxxxxxxxx
The diskspace() function has been around forever.

Dan

SHAY wrote:
Hello EveryOne,
I generally write programs in FPD 2.6 , now i have to write a small
program that would check the availabe disk drive on the system and if
its low it should notify me with an alert . As couple of times we
have run short of the disk space & did'nt know till the things
started running really slow. please help.
thank you in advance






.



Relevant Pages

  • Re: Getting DiskDrive Space
    ... I found code on Universalthread.com that allows you to get disk space ... Download icon, and choose Visual FoxPro as the product. ... Keep an eye on the product lifecycle for Visual FoxPro here: ...
    (microsoft.public.fox.helpwanted)
  • parsing report
    ... the disk space, total and used. ... Using regular expressions, I know how ... Statistics for fixed volume SERVER1/VOL1: ...
    (perl.beginners)
  • parsing report
    ... the disk space, total and used. ... Using regular expressions, I know how ... Statistics for fixed volume SERVER1/VOL1: ...
    (perl.beginners)