fs.delete
From ComputerCraft Wiki
![]() | |
Deletes a file or directory. A nonexistent target is ignored; a directory is deleted along with all its contents. | |
Syntax | fs.delete(string path) |
Returns | nil |
Part of | ComputerCraft |
API | fs |
Examples
![]() | |
Deletes a file or directory called "test1" in the root directory | |
Code |
fs.delete("test1") |