In addition, yes, you can get this information because you can execute commands. For disk information, there are several PHP functions, check the following links:
Retrieving the drive name, however, must be done using the command. I just booted Windows into VirtualBox, and the following seems to work:
if( preg_match( '~Volumenaam : (.*)~i', `fsutil fsinfo volumeinfo C:\\`, $matches ) ) { echo $matches[1]; }
Volumenaam is Dutch for "Volumename". I have only the Dutch version of Windows, so you will need to check what the actual string is.
Good luck.
source share