Delete
From ComputerCraft Wiki
This page is a stub. Please help us by expanding it.
|
Delete is a built in program for computers and turtles that will delete the specified source file or directory. As of version 1.6, it supports wildcards by use of fs.find. It cannot remove read-only files such as the rom folder or anything in the rom folder.
Example | |
Removes regular file /foo | |
Code |
delete /foo |
Example | |
Removes all the files and directories | |
Code |
delete * |