Re: u3: where to store data?
Phil, thanks... 'You da man!!!' -c ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: u3: where to store data?
Hi, it seems that the application just lives in the u3p file on the stick. After starting the app from launchpad it is copied to the folder c:\Documents and Settings\user\Application Data\U3\u3stickid\programid\Exec Try it your self. Just rename the U3P file for any of the installed apps on the u3 stick and run it from launchpad. You will get an errormessage like this An error has occurred whily trying to launch the selected program. Renaming it back, will let you run it again. If you have startefd the application already on the stick, renaming won´t produce the error message, as the application was already copied to c:\documents... . In this case you have to eject and reconnect the stick, as this deletes the content of the U3 folder on C. The app resides in c:\Docuemtns and Settings until the stick is removed by clicking the eject button in launchpad. Clicking eject runs a tool c:\Documents and Settings\user\Application Data\U3\temp\cleanup.exe , which removes the content of the U3 folder on C, except the temp folder. So if you have an autoupdate function built in your app, why not adding the new app into the u3p file. It´s an zipcompressed format. Regards, Matthias Original Message Subject: Re: u3: where to store data? (30-Aug-2006 4:20) From:[EMAIL PROTECTED] To: [EMAIL PROTECTED] Thanks Malte! I'm looking to find the folder where the application lives on the U3 drive...Did you find an ENVIRONMENT VARIABLE for that? Thanks again, Chipp On 8/29/06, Malte Brill [EMAIL PROTECTED] wrote: I, too, want to WRITE to a specific folder on U3 drive (not a default documents directory). Let us know if you learn anything. Hi all (and specially Chipp), here is what I found with help from the mothership (thanks Marcus) on mouseUp put $U3_APP_DATA_PATH into tPath replace \ with / in tPath put /test.txt after tPath put this is a test into URL (file:tPath) answer the result cr URL (file:tPath) cr there is a file tPath cr tPath end mouseUp This way the data ends up in the /app/data folder on the u3 drive. Somehow it failed when I used file:// no idea why. Another script that I find handy is this (which I wrote in my frustration about the meager specs) on mouseUp repeat for each item theItem in the globals if U3 is in theItem then put theItem value (theItem) cr after allU3Vars end if end repeat put allU3Vars end mouseUp Interesting what one can find out about the drive. ;-) Hope this is of any help, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: u3: where to store data?
Phil, thanks... 'You da man!!!' Ditto from here. Thanks, Phil (and Malte). Great useful stuff. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: u3: where to store data?
I, too, want to WRITE to a specific folder on U3 drive (not a default documents directory). Let us know if you learn anything. Hi all (and specially Chipp), here is what I found with help from the mothership (thanks Marcus) on mouseUp put $U3_APP_DATA_PATH into tPath replace \ with / in tPath put /test.txt after tPath put this is a test into URL (file:tPath) answer the result cr URL (file:tPath) cr there is a file tPath cr tPath end mouseUp This way the data ends up in the /app/data folder on the u3 drive. Somehow it failed when I used file:// no idea why. Another script that I find handy is this (which I wrote in my frustration about the meager specs) on mouseUp repeat for each item theItem in the globals if U3 is in theItem then put theItem value (theItem) cr after allU3Vars end if end repeat put allU3Vars end mouseUp Interesting what one can find out about the drive. ;-) Hope this is of any help, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: u3: where to store data?
Thanks Malte! I'm looking to find the folder where the application lives on the U3 drive...Did you find an ENVIRONMENT VARIABLE for that? Thanks again, Chipp On 8/29/06, Malte Brill [EMAIL PROTECTED] wrote: I, too, want to WRITE to a specific folder on U3 drive (not a default documents directory). Let us know if you learn anything. Hi all (and specially Chipp), here is what I found with help from the mothership (thanks Marcus) on mouseUp put $U3_APP_DATA_PATH into tPath replace \ with / in tPath put /test.txt after tPath put this is a test into URL (file:tPath) answer the result cr URL (file:tPath) cr there is a file tPath cr tPath end mouseUp This way the data ends up in the /app/data folder on the u3 drive. Somehow it failed when I used file:// no idea why. Another script that I find handy is this (which I wrote in my frustration about the meager specs) on mouseUp repeat for each item theItem in the globals if U3 is in theItem then put theItem value (theItem) cr after allU3Vars end if end repeat put allU3Vars end mouseUp Interesting what one can find out about the drive. ;-) Hope this is of any help, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: u3: where to store data?
Hey Chipp - Here's what I got when I ran Malte's second script (slightly modified, and I inserted extra CRs to make wraps more detectable): $U3_IS_UPGRADE = false $U3_IS_DEVICE_AVAILABLE = true $U3_IS_AUTORUN = false $U3_HOST_EXEC_PATH = C:\Documents and Settings\Phil\Application Data\U3\0CB16C50A2916885\E12D38CA-C6EF-4bd0-B62A-F230F996FE2F\Exec $U3_ENV_VERSION = 1.0 $U3_ENV_SUB_VERSION = 1 $U3_ENV_LANGUAGE = 1033 $U3_DEVICE_VENDOR_ID = 2284 $U3_DEVICE_VENDOR = Yahoo $U3_DEVICE_SERIAL = 0CB16C50A2916885 $U3_DEVICE_PRODUCT = U3 smart drive $U3_DEVICE_PATH = F: $U3_DEVICE_EXEC_PATH = F:\System\Apps\E12D38CA-C6EF-4bd0-B62A-F230F996FE2F\Exec $U3_DEVICE_DOCUMENT_PATH = F:\Documents $U3_DAPI_CONNECT_STRING = 0CB16C50A2916885 $U3_APP_DATA_PATH = F:\System\Apps\E12D38CA-C6EF-4bd0-B62A-F230F996FE2F\Data Hopefully this 'data picture' is worth a few words... Phil Davis Chipp Walters wrote: Thanks Malte! I'm looking to find the folder where the application lives on the U3 drive...Did you find an ENVIRONMENT VARIABLE for that? Thanks again, Chipp On 8/29/06, Malte Brill [EMAIL PROTECTED] wrote: I, too, want to WRITE to a specific folder on U3 drive (not a default documents directory). Let us know if you learn anything. Hi all (and specially Chipp), here is what I found with help from the mothership (thanks Marcus) on mouseUp put $U3_APP_DATA_PATH into tPath replace \ with / in tPath put /test.txt after tPath put this is a test into URL (file:tPath) answer the result cr URL (file:tPath) cr there is a file tPath cr tPath end mouseUp This way the data ends up in the /app/data folder on the u3 drive. Somehow it failed when I used file:// no idea why. Another script that I find handy is this (which I wrote in my frustration about the meager specs) on mouseUp repeat for each item theItem in the globals if U3 is in theItem then put theItem value (theItem) cr after allU3Vars end if end repeat put allU3Vars end mouseUp Interesting what one can find out about the drive. ;-) Hope this is of any help, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: u3: where to store data?
Hi Malte, I, too, want to WRITE to a specific folder on U3 drive (not a default documents directory). Let us know if you learn anything. -Chipp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
u3: where to store data?
Hi all, I thought I´ll give the u3 thingy a shot today, so I got me a small u3 drive. Now I wonder: Where should my app store its data? Where would preferences usually go? I already looked at the globals and checked the paths in there. I recall vaguely that I have seen a post on this a while back, but a search comes up with zilch. Any hints welcome. All the best, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: u3: where to store data?
On Saturday, August 26, 2006, at 12:48PM, Malte Brill [EMAIL PROTECTED] wrote: Hi all, I thought I´ll give the u3 thingy a shot today, so I got me a small u3 drive. Now I wonder: Where should my app store its data? Where would preferences usually go? I already looked at the globals and checked the paths in there. I recall vaguely that I have seen a post on this a while back, but a search comes up with zilch. Any hints welcome. All the best, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution