Page 1 of 1

Help with filesystem [SOLVED]

Posted: Mon Jun 12, 2023 8:39 am
by zalander
Hi there,
I wanted to ask that how can i change the filesystem destination
Like i want to save a sting in C:\<name>\OneDrive\Desktop\folder
so how can i do it ?
:nyu:

Re: Help with filesystem

Posted: Mon Jun 12, 2023 12:30 pm
by Andlac028
Either use lua io module (io.read, io.write, io.open, however this can break os compatibility), or try to bypass loves filesystem restrictions with ffi (there is some library for it, but I forgot its name), or wait for 12.0 (or use development version), which includes new filesystem functions for mounting any directory

Re: Help with filesystem

Posted: Mon Jun 12, 2023 6:56 pm
by zorg
You shouldn't do that in the first place anyway.

Re: Help with filesystem

Posted: Tue Jun 13, 2023 7:40 am
by zalander
Welp guess im waiting for 12.0