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

Floppy Disk name/info

Started by xDeathwing, 24 March 2012 - 07:46 PM
xDeathwing #1
Posted 24 March 2012 - 08:46 PM
I got a disk and its got virus data in it, i want the floppy disk name is Virus CD how can i do that(sorry for bad english)
kamnxt #2
Posted 24 March 2012 - 08:47 PM
You can use disk.getLabel(side) to get the disk's label.
xDeathwing #3
Posted 24 March 2012 - 08:51 PM
I want to know the CD name when i click it with my mouse like "The Virus" etc
Espen #4
Posted 24 March 2012 - 08:57 PM
I want to know the CD name when i click it with my mouse like "The Virus" etc
Type this in the shell and it will tell you what you seek :(/>/>
help label
xDeathwing #5
Posted 24 March 2012 - 09:01 PM
Thanks Espen i made it.
schrolock #6
Posted 25 March 2012 - 06:01 PM
I got a disk and its got virus data in it, i want the floppy disk name is Virus CD how can i do that(sorry for bad english)

run lua
type disk.setLabel("side","name")
nateracecar5 #7
Posted 01 January 2013 - 12:27 PM
Do "label set <disk drive side> <new label name>"
Tsa6 #8
Posted 01 January 2013 - 01:24 PM
Hm. I didn't know it could be done that way. I just use an anvil.