Detect run from drive type

Russell Martin russell_martin at yahoo.com
Sat Dec 29 20:30:20 EST 2007


Does anyone know of a way to detect whether an app is being run from a
removable drive? The goal being, if the app was run from a
removable/writable drive (i.e. a usb keychain drive, but not
necessarily a U3 volume), the app would then read & write its prefs in
the folder it was run from, but if run from a fixed drive then it would
read/write its prefs to the user's home directory.


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 




More information about the Use-livecode mailing list