Im using this example for a file write operation
http://developer.anscamobile.com/content/file-demo
For this
local filePath = system.pathForFile( “data.txt”, system.DocumentsDirectory )
I have stripped out the system.pathForFile and system.DocumentsDirectory
as I thought it would save the file in the directory where my game files are stored on my Mac however its saving them in my user folder.
Anyone know how to set it to save them in the games root folder. This is just for development on my Mac so doesnt need to work on a device.
Thanks
[import]uid: 44553 topic_id: 21257 reply_id: 321257[/import]