I was wondering what method I could use to get a specific hdd's or partition's disk space information and store the free space on that partition into a variable
Printable View
I was wondering what method I could use to get a specific hdd's or partition's disk space information and store the free space on that partition into a variable
I'd use a microscope, a pencil, and a handheld magnet. It's the only way that does not depend on the operating system.
In other words, post in the platform-specific board that fits your target platform.
its a maxtor sata-155 using via
amd 64
windows xp
that the info you wanted?
You can use the GetDiskFreeSpaceEx function.
Thanks a lot
Btw, why was this moved to windows? It's a c++ question
> why was this moved to windows? It's a c++ question
Because the answer is specific to your OS.
Because the answer can be used by either C or C++