| Blockland Forums > Modification Help |
| Deleting a file [solved] |
| (1/3) > >> |
| adam savage:
I am trying to delete a file using the functions: --- Code: --- %file = new fileObject(); %file.openForAppend("Config/client/AdamBot/Learning/" @ %word @ ".txt"); %file.delete(); --- End code --- But that only deleted the file OBJECT, I want to delete the file itself. |
| Blocki:
i also want to know this |
| General:
try fileDelete("File/Path"); |
| Blocki:
workz |
| otto-san:
the delete method generally does what the name implies. it deletes the object it's called on. sorry if that sounded rude |
| Navigation |
| Message Index |
| Next page |