How do I detect free disk space on a HDD ?
Thanks
Printable View
How do I detect free disk space on a HDD ?
Thanks
Check out the GetDiskFreeSpace() API call.
just want to mention, that GetDiskFreeSpace is considered obsolete. The new GetDiskFreeSpaceEx works for even really big disks.
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.