How do I find out the storage capacity of my harddisk without using the OS functions like dir or ls?
+2
A:
On windows:
Win32: GetDiskFreeSpaceEx
.NET: DriveInfo
If, for whatever reason, you still don't want to use those, you can send an IOCTL message direct to the disk driver.
Kazar
2010-04-13 14:48:36
The DriveInfo was what I was looking for. Thank you very much.
ryan
2010-04-14 05:08:55