This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ju44's profile picture

{Lua} How do I delete programs from different computers?

Started by ju44, 04 September 2012 - 10:37 PM
ju44 #1
Posted 05 September 2012 - 12:37 AM
To be described better,
How do I delete ProgramA, on computer 1, from computer 2, with use on floppy disks?
Zalerinian #2
Posted 05 September 2012 - 01:07 AM
How do I delete ProgramA, on computer 1, from computer 2, with use on floppy disks?


You cannot remotely delete a program off a computer, unless you have a server running that accepts remote commands. If you're going to be putting in a floppy disk, however, and all it is to do with no function or confirmation and just delete a file/folder, then make a file named startup on the disk, and have the following in it:


fs.delete("Path/to/ProgramA")

I hope you're not planning anything malicious.