disk.setLabel

From ComputerCraft
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

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

Set the Label of a Disk.

ExampleExampleSet disk label
Sets the label of the disk inserted in the disk drive on the top to "Disk123".
Code
disk.setLabel("Disk123"))