# App's files

**URL:** <https://forum.xojo.com/t/apps-files/10647>\
**Category:** Windows\
**Created:** [September 2, 2013, 3:00pm UTC](https://forum.xojo.com/t/apps-files/10647 "2013-09-02T15:00:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Smith](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/edb3f5/32.png) [@Jim\_Smith](https://forum.xojo.com/u/Jim_Smith)\
**Post date:** [September 2, 2013, 3:00pm UTC](https://forum.xojo.com/t/apps-files/10647/1 "2013-09-02T15:00:41Z")

</div>

I have an application the run both on Windows and OS-X. I am thinking of moving the application’s database file from the Document directory to the SpecialFolder.ApplicationData directory for OS-X.

For Windows (which is about 90% of my users) should leave the database file put or move it also to the SpecialFolder.ApplicationData?

---

<div class="post-metadata">

**Author:** ![Wayne\_Golding](https://forum.xojo.com/user_avatar/forum.xojo.com/wayne_golding/32/165_2.png) [@Wayne\_Golding](https://forum.xojo.com/u/Wayne_Golding)\
**Post date:** [September 2, 2013, 7:29pm UTC](https://forum.xojo.com/t/apps-files/10647/2 "2013-09-02T19:29:51Z")

</div>

I wouldn’t. With UAC you’ll have read only access to the database file.

---

<div class="post-metadata">

**Author:** ![Jim\_Smith](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/edb3f5/32.png) [@Jim\_Smith](https://forum.xojo.com/u/Jim_Smith)\
**Post date:** [September 2, 2013, 7:51pm UTC](https://forum.xojo.com/t/apps-files/10647/3 "2013-09-02T19:51:41Z")

</div>

Thanks Wayne.

I not a Windows person, even tho I did use Windows for 7 or 8 years ( NO mac and NO programming), so please forgive the dumb questions.

I currently have my preference file in the users App Data folder and I read and write to this file. Why would I not be able to write to the data base if it were in save directory?

---

<div class="post-metadata">

**Author:** ![Wayne\_Golding](https://forum.xojo.com/user_avatar/forum.xojo.com/wayne_golding/32/165_2.png) [@Wayne\_Golding](https://forum.xojo.com/u/Wayne_Golding)\
**Post date:** [September 2, 2013, 8:24pm UTC](https://forum.xojo.com/t/apps-files/10647/4 "2013-09-02T20:24:52Z")

</div>

Sorry you are correct. It’s the sharedapplicationdata special folder that is read only.

---

<div class="post-metadata">

**Author:** ![Jim\_Smith](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/edb3f5/32.png) [@Jim\_Smith](https://forum.xojo.com/u/Jim_Smith)\
**Post date:** [September 2, 2013, 8:30pm UTC](https://forum.xojo.com/t/apps-files/10647/5 "2013-09-02T20:30:20Z")

</div>

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 4:49pm UTC](https://forum.xojo.com/t/apps-files/10647/6 "2020-10-29T16:49:49Z")

</div>


