Determining type of drive a file is on

Mark Wieder mwieder at
Mon Aug 2 18:53:02 EDT 2004


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
       somebody copied it to a CD
   end if
    it's been copied to a hard disk
end if

-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list