getting the Real name of CDs from RR
thierry
douez at wanadoo.fr
Thu Dec 30 10:59:51 EST 2004
Hi,
AT> Ken Ray wrote:
>> on mouseUp
>> answer GetCDName("D:")
>> end mouseUp
>>
>> function GetCDName pLetter
>> set the hideConsoleWindows to true
>> put shell(pLetter & " & dir") into temp
>> return last word of line 1 of temp
>> end GetCDName
AT> Hi Ken,
AT> I try the same commands from the DOS command promt
AT> and the last words of line 1 effectively
AT> contains the name of the CD.
AT> Is Time to reinstall the OS? or
AT> Could i troubleshoot this machine in
AT> another way?
Well, some good news just before the New Year :-)
In fact, it's not line 1 but line 2 !!!!!
i just tested it on Win98 too.
Best regards,
thierry
More information about the use-livecode
mailing list