Posted 25 February 2015 - 10:31 PM
files = fs.list("disk")
for i = 1, #files do
fs.delete(files[i])
end
doesn't work
files = fs.list("disk")
for i = 1, #files do
fs.delete(files[i])
end
files = fs.list("disk")
for i = 1, #files do
fs.delete("disk/"..files[i])
end
files = fs.list("disk") for i = 1, #files do fs.delete("disk/"..files[i]) end