Hi,
Thursday, February 6, 2003, 4:49:23 AM, you wrote:
JN> Guess it's not on Linux, eh? :)
JN> Adam Williams wrote:
>> Thanks Tom, that works perfect!
>>
>> Adam
>>
>> On Thu, 6 Feb 2003, Tom Rogers wrote:
>>
>>
>>>Hi, Adam
>>>
>>>
>>>TR> You could try the vol command using exec{} and parse out the volume name
>>>
>>>TR> --
>>>TR> regards,
>>>TR> Tom
>>>
>>>This should do it:
>>><?
>>>exec("vol g:",$result);
>>>$label = trim(strrchr($result[0],' '));
>>>echo 'Label is '.$label.'<br>';
>>>?>
>>>
>>>
>>
>>
For linux you could read the header using dd
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php