Leon_Lejon

CC OS 2 OS/chkdisker

Jun 6th, 2024 (edited)
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
Add Comment
Please, Sign In to add comment