Getting drives

BlitzMax Forums/BlitzMax Programming/Getting drives

William Drescher(Posted 2008) [#1]
How do I get the names and labels of the Hard disk drives on a computer?


tonyg(Posted 2008) [#2]
For windows? This should help.


SebHoll(Posted 2008) [#3]
Brucey's BaH.Volumes cross-platform module is available with the rest of his module library from his MaxMods Google Code SVN repository. The function you are looking for is ListVolumes(), but the module can also return things like drive space and special folder paths (user docs, temp directory etc.).