CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    Detecting free HDD space

    How do I detect free disk space on a HDD ?
    Thanks


  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: Detecting free HDD space

    Check out the GetDiskFreeSpace() API call.


    --
    Jason Teagle
    [email protected]

  3. #3
    Join Date
    May 1999
    Posts
    3,332

    Re: Detecting free HDD space

    just want to mention, that GetDiskFreeSpace is considered obsolete. The new GetDiskFreeSpaceEx works for even really big disks.


  4. #4
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: Detecting free HDD space

    OK, thankyou. We are still using VC++ V4.0 at work, so that method isn't available, but you're right - if it is there, you should use it.



    --
    Jason Teagle
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured