Determining type of drive a file is on

Mark Wieder mwieder at ahsoftware.net
Mon Aug 2 17:53:02 CDT 2004


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

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list