Check if drive is HDD possible?

BlitzMax Forums/BlitzMax Beginners Area/Check if drive is HDD possible?

A pretty crude sort of half-effective method might be to read the file attributes of either the executable or one of its resource files and see if the read-only attribute is set. Unless it has been set that way on the medium by the user or the installer, you could assume that a read-only flag would indicate a CD or non-writable media.