I'm trying to make a temporary file but whenever I try to delete it, it gives me Access Denied
Why is this?
Code:
if fs.exisits("test") then
fs.delete("test") -- Where it says Access Denied
file = fs.open("test","w")
file.writeLine('shell.run("CTest")')
file.close()
else
file = fs.open("test","w")
file.writeLine('shell.run("CTest")')
file.close()
end












