Determining type of drive a file is on

Trevor DeVore lists at mangomultimedia.com
Mon Aug 2 18:59:35 EDT 2004


On Aug 2, 2004, at 3:53 PM, Mark Wieder wrote:

> Trevor-
>
> Ah. So you only want to run if the app is running off the USB drive.
> How about something simple:
>
> if drive is removable (OS test) then
>    write a text file to the drive
>    if the write was successful then
>       it's not a CDROM
>    else
>        somebody copied it to a CD
>    end if
> else
>     it's been copied to a hard disk
> end if

I like simple.  that seems like it would work nicely Mark.

Thanks,


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list