Disk Volume Information
by Britton LaRoche · in Torque Game Engine · 07/26/2003 (4:26 pm) · 0 replies
Does anyone know of away to obtain the disk volume label of the hard drive from inside Torque? I'd need this to work for linux mac and windows as well. I may be overlooking a simple enviroment command or something of this nature.
I noticed something in the docs about the resource manager... engine/core/resManager which deals with files and IO it had this in the docs for Volume info:
------
Volume Files
Documentation in developement
-----
and I read through the docs on the platform layer:
www.garagegames.com/docs/torque.sdk/engine/index.php#PlatformLayer
Also looked at plaform.h to see if any Disk Volume information was stored. But I could find anything. I may be overlooking it.
Is there a getVolumeLabel() or some such function already in Torque? If not what would be the best way to go about doing this? This is just my first look into doing this so forgive me if I'm asking some obvious questions.
I noticed something in the docs about the resource manager... engine/core/resManager which deals with files and IO it had this in the docs for Volume info:
------
Volume Files
Documentation in developement
-----
and I read through the docs on the platform layer:
www.garagegames.com/docs/torque.sdk/engine/index.php#PlatformLayer
Also looked at plaform.h to see if any Disk Volume information was stored. But I could find anything. I may be overlooking it.
Is there a getVolumeLabel() or some such function already in Torque? If not what would be the best way to go about doing this? This is just my first look into doing this so forgive me if I'm asking some obvious questions.