Hi Harold,
is there any API-conform and platform-independend way
for getting the free disk space of a harddrive?All code-snippets I found were just bad workarounds.
So, do anyone know a good way for doing this?
I searched for 15 minutes now, and I only found those bad workarounds that you found too.
I think the best method would be to use the binarys of the different operating systems, on linux it would be "du" (standing for disk usage).
This is quite a bit problematic because this function _really_ depends on the specific os, and (of course) the used file system. :-(
Regards
Marc Reichelt || http://www.marcreichelt.de/
--
Linux is like a wigwam - no windows, no gates and an Apache inside!
Selfcode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html
Linux is like a wigwam - no windows, no gates and an Apache inside!
Selfcode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html