local file = io.open("Test/Test.txt", "w")
file:write("{ }")
file:close()
but it didn't work
how to make a new "folder"
Started by dcleondc, Sep 01 2012 07:53 PM
2 replies to this topic
#1
Posted 01 September 2012 - 07:53 PM
hello im making a program and i wanted it to store all of its info in a folder and i tried this
#2
Posted 01 September 2012 - 08:02 PM
You need to create the directory first, using:
fs.makeDir(path)
#3
Posted 01 September 2012 - 08:35 PM
TY, i feel dumb right now because i have the fs api page open in a tab
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users











