Check if drive is HDD possible?

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

If on a non-readonly media, how can you be sure the file isn't replaced with a new and empty one ready for writing? (until it's too late, that is)