disk.setLabel

From ComputerCraft
Jump to navigation Jump to search

disk.setLabel
Function
Syntax
disk.setLabel()
Returns number ID
API disk
Source CC:Tweaked (source)

Set the label of a disk.

Error creating thumbnail: Unable to save thumbnail to destination
ExampleSet disk label
Sets the label of the disk inserted in the disk drive on the top to "Disk123".
Code
disk.setLabel("top", "Disk123")