If I have a path, we say "F:\myfolder\". How do I as simple as possible get maximum folder/file size and how much free space there is on just that path/partition? I know how I can fix this on windows but yeah, it will not be portable which is a requirement, so how are you guys fixing issues as this? I could write a wrapper and use #ifdef WIN32 and such stuff but it would be a ugly solution and besides should it probably fail because I can almost nothing about others operating system than window.
Thanks in advance.