Advertisement
asteroidsteam

Anti-VirusCC

Sep 22nd, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local file = fs.exists("startup")
  2. if file == true then
  3. textutils.slowPrint("Virus Or OS startup file Detected! Delete (y/n)")
  4. local text = io.read()
  5. if text == "y" then
  6. fs.delete("/startup")
  7. shell.run("/rom/startup")
  8. else
  9. textutils.slowPrint("File Not Deleted!")
  10. end
  11. else
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement