h = fs.open("settings","w")
h.write("--Testing comment")
h.close()
h = fs.open("settings","a")
h.writeLine("Add below the comment")
h.writeLine("Hello")
h.writeLine("Hi")
h.writeLine("Hey")
h.close()
I was just messing around so none of this really does anything useful. So now the file name settings looks something like this:--Testing comment Hello Hi HeyI wanted to change some stuff so I tried to delete settings but I got this error:
Delete:9: Access deniedI know you get this when trying to delete like one of the main files but I don't see why it wouldn't let me delete it here.
If someone could explain why this happened and how to fix it, that would be great.
Help is appreciated!
Thanks!











