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

[Lua] Read Files On Disk?

Started by SNWLeader, 24 January 2013 - 03:06 PM
SNWLeader #1
Posted 24 January 2013 - 04:06 PM
I wanted to make a system that I can use to make a credit cards system using floppy disks.

I just don't know how I would do that.

I have no idea how would I do so. I am code friendly so I can read code.
theoriginalbit #2
Posted 24 January 2013 - 04:18 PM
you can open a file on a disk like any other… just add "disk/" to the front of the file name… also disk.getMountPath(<side>) can get you that prefix