getting the Real name of CDs from RR

Ken Ray kray at sonsothunder.com
Thu Dec 30 13:17:46 EST 2004


On 12/30/04 10:33 AM, "thierry Douez" <douez at wanadoo.fr> wrote:

> 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 !!!!!

Really? It's line 1 for me (Win XP Pro). What version of Windows are you
using, and what's on line 1?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list