Posted 15 March 2012 - 07:28 PM
So I got realized that io.open will create file if it doesn't exist. But how I can choose the path/directory for the file?
io.open("path/filename", "mode")
"path" is the path/directory where the file will be, "filename" the name of the file inside the directory, and "mode" the open mode (r, w, a, rb, wb, ab).