This content has been marked as final. Show 3 replies
It depends on what your "data" is and who needs access to it, but you
might try using 'baSysFolder("personal")'
Originally posted by: vectorg6
Currently I have the application hard coded to write to "C:\myfoldername\ " .
Do not do that. This works on your machine, but it will most likely fail on any other machine where the user is not administrator. And it will fail on my computer, too, since my system (win XP) is not located on C:, which is used for a pendrive instead.
For my last project, i did a script like this:
repeat with i = 1 to 60
and looked for what folder suited me best: #35, All users\Applicationdata. For you project, you might rather use #26 (current user\applicationdata) or 28 (current user\locale settings\applicationdata).
Thank you both for your answers.
I currently have
baSysFolder("personal") which seems to be working on most machines for my application
This is the users personal documents folder