Click to See Complete Forum and Search --> : Detecting free HDD space


May 12th, 1999, 04:11 AM
How do I detect free disk space on a HDD ?
Thanks

Jason Teagle
May 12th, 1999, 05:13 AM
Check out the GetDiskFreeSpace() API call.

Lothar Haensler
May 12th, 1999, 05:50 AM
just want to mention, that GetDiskFreeSpace is considered obsolete. The new GetDiskFreeSpaceEx works for even really big disks.

Jason Teagle
May 12th, 1999, 07:08 AM
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.