Guest User

chkdisker

a guest
Jun 6th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. print("Drive capacity is", fs.getCapacity("/"),"bytes", "while", fs.getFreeSpace("/"),"bytes", "are free.")
  2. UsedSpace = fs.getCapacity("/")-fs.getFreeSpace("/")
  3. print("Which means", UsedSpace,"bytes", "are being used.")
  4. term.setTextColor(colors.green)
  5. print("Use 'dir' to explore the structure of your hard drive!")
  6. term.setTextColor(colors.white)
Advertisement
Add Comment
Please, Sign In to add comment