Ah, thanks for the function, it works !
But the documentation of GetDiskSpace() is a bit odd...
Why would you want to specify a directory if you get the space available on the drive ?
You might as well specify the drive then...