Detect run from drive type
revdev at pdslabs.net
Sat Dec 29 20:18:07 CST 2007
Check out my Rev USBDrive library at:
I need to update it with new features, but I think it might give you
what you're looking for - or at least it'll give you a starting point.
Russell Martin wrote:
> 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.
More information about the use-livecode